How to force domain update in Discourse


(Tuan Do) #1

Hi all,

I have problem with highlight.js can’t be loaded. I tried to install Discourse for “localhost” domain from the first time and it seems it saved resources with that domain hardcode somewhere. After that I changed the domain to “abc.example.com” try to rebuild the application on console. But hightlight.js still references to the “localhost” or the js file can’t be moved to new folder which contains “abc.example.com” in the folder path.

How could I force update domain or where is the folder which saved that resource so that I can copy and paste manually.

Thanks in advanced,
Tuan Do


(Tuan Do) #2

I found out even we change the domain correctly to abc.example.com but the highlight.js still inside “localhost” folder somewhere. Do we have to move the js file manually after update Discourse to another domain?