Serve Robeaux correctly

This commit is contained in:
Andrew Stewart 2014-01-31 11:02:12 -08:00
parent 3dde16d659
commit f3cb8133ff
2 changed files with 2 additions and 2 deletions

2
dist/api.js vendored
View File

@ -33,7 +33,7 @@
this.server.set('title', 'Cylon API Server');
this.server.use(express.json());
this.server.use(express.urlencoded());
this.server.use(express["static"](__dirname + "/../node_modules/roboux/"));
this.server.use(express["static"](__dirname + "/../node_modules/robeaux/"));
this.server.get("/*", function(req, res, next) {
res.set('Content-Type', 'application/json');
return next();

View File

@ -28,7 +28,7 @@ namespace 'Cylon', ->
@server.set 'title', 'Cylon API Server'
@server.use express.json()
@server.use express.urlencoded()
@server.use express.static __dirname + "/../node_modules/roboux/"
@server.use express.static __dirname + "/../node_modules/robeaux/"
@server.get "/*", (req, res, next) =>
res.set 'Content-Type', 'application/json'