requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js
https://js.wiki
GNU Affero General Public License v3.0
24.33k stars 2.69k forks source link

Javascript resources with wrong src path #584

Closed yriveiro closed 6 years ago

yriveiro commented 6 years ago

My installation of WikiJS is falling to load JavaScript files due to a duplicate hostname in the src tag.

After some debugging I found this:

https://github.com/Requarks/wiki/blob/9d090ab392e319a276e8dd21b01c110d5626dd3a/server/views/layout.pug#L27

I think that the variable appconfig.host is unnecessary, after remove it all works as expected.

yriveiro commented 6 years ago

My mistake, I forgot to put http:// when I defined the host in the configuration tool.