mirror of https://github.com/calzoneman/sync.git
Fix index.html breakage
This commit is contained in:
parent
a25b2fdadf
commit
d56d46c608
|
@ -88,6 +88,10 @@ var Server = {
|
|||
this.api.handle(req.url.substring(5), req, res);
|
||||
}.bind(this));
|
||||
|
||||
this.app.get("/", function (req, res, next) {
|
||||
res.sendfile(__dirname + "/www/index.html");
|
||||
});
|
||||
|
||||
// default path
|
||||
this.app.get("/:thing(*)", function (req, res, next) {
|
||||
var root = __dirname + "/www/",
|
||||
|
|
Loading…
Reference in New Issue