mascara - server - prepare to serve popup

feature/default_network_editable
kumavis 8 years ago
parent 4cfcb4452a
commit 5126ddaf0c
  1. 4
      library/server.js

@ -19,8 +19,10 @@ iframeServer.get('/controller.js', function(req, res){
res.send(controllerBundle.latest) res.send(controllerBundle.latest)
}) })
// serve static // serve background controller
iframeServer.use(express.static('./server')) iframeServer.use(express.static('./server'))
// serve popup window
// iframeServer.use('/popup', express.static('../dist/chrome'))
iframeServer.listen('9001') iframeServer.listen('9001')

Loading…
Cancel
Save