Skip to content

Node.js based forum software built for the modern web

fixes for windows (flex) @julianlam

psychobunnyf2bf9f938389
diff --git a/src/routes/meta.js b/src/routes/meta.js
index af10e84021..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 = '/' + 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);
});