Any reason why same code would work on testing server but not on production?

You also can host them on Github

How to host text files on Github

How to embed files hosted on Github