Skip to content

Node.js based forum software built for the modern web

I still don't know what I'm fixing, I'm just doing as @barisusakli says

psychobunnya1815b41c7f1
diff --git a/src/routes/meta.js b/src/routes/meta.js
index 50b04dc235..b3d5151b04 100644
--- a/src/routes/meta.js
+++ b/src/routes/meta.js
@@ -38,7 +38,7 @@ function setupPluginSourceMapping(app) {
prefix = __dirname.split(path.sep).length - 1;
routes.forEach(function(route) {
- mapping = path.sep + route.split('/').slice(prefix).join('/');
+ mapping = path.sep + route.split(path.sep).slice(prefix).join(path.sep);
app.get(mapping, function(req, res) {
res.type('text/javascript').sendfile(route);
});