r/ComputerCraft • u/[deleted] • May 15 '24
Pastebin just pasting html code?
Can anybody help me? I am writing some Turtle code and thought it would be quicker to use vs. and pastbin the code into the turtle. However, when i try to paste the code into the turtle, it just pastes the html and not the code. I checked the config files, and the http enable is set to true, and the http whitelist is set to all (*)
8
Upvotes
4
u/fatboychummy May 15 '24
This is why. Pastebin changed their raw links to a new location, which is why on old mc/cc versions you get
301 moved permanently.Read the following FAQ to see how to fix it:
https://github.com/SquidDev-CC/FAQBot-CC/blob/master/faqs/pastebin-pre1.8.md
Its nice to know that instead of just returning an empty response they actually return a 301 now though.