diff --git a/embark/index.js b/embark/index.js index 82b54a0965..3a4bb23101 100644 --- a/embark/index.js +++ b/embark/index.js @@ -3,7 +3,7 @@ var remixd = require('remixd') module.exports = (embark) => { var server = httpServer.createServer({ - root: __dirname + '/node_modules/remix-ide' + root: path.join(__dirname, '/node_modules/remix-ide') }) embark.registerServiceCheck('Remix IDE', (cb) => { @@ -12,5 +12,5 @@ module.exports = (embark) => { server.listen(8080, '127.0.0.1', function () {}) var router = new remixd.Router() - router.start(__dirname + '/../../') + router.start(path.join(__dirname, '/../../')) }