After updating to 0.8.0. I'm now getting these errors on my browser's console and the widgets don't load on the first time, I have to do page refresh to get them to load:
nodebb.min.js:8 Uncaught Error: Module name "csrf" has not been loaded yet for context: _. Use require()
nodebb.min.js?82067a71:5 WebSocket connection to 'ws://foorumit.maailmanloppu.fi/socket.io/?EIO=3&transport=websocket&sid=somesidhere' failed: Error during WebSocket handshake: Unexpected response code: 400
And I'm also getting this even after the successful page load:
nodebb.min.js?82067a71:3 GET http://foorumit.maailmanloppu.fi/vendor/jquery/timeago/locales/jquery.timeago.fi-short.js?_=1441014801171 404 (Not Found)
Took me about an hour but I think I found the source of the issue:
What's happening is that if a relative path is detected in a markdown url, this code checks that the relative path prefix is there. I'm not really sure why this is the case. If I'm running Wordpres (I am) and upload images there, shouldn't I be able to use relative URLs without enforcing the relative_path?
(For my reference, the relative path is set based on the site url)