Putting rootURL in JavaScript using Discourse::base_uri and erb

Putting rootURL in JavaScript using Discourse::base_uri and erb

This is mainly meant for running discourse with a prefix, and mainly meant to ease deploying the website with a prefix (so no manual changes in *.js files are needed).