Fix the gulpfile
parent
b5a15c803a
commit
0fd67b9cab
|
@ -75,8 +75,7 @@
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"lodash": "~2.4.1",
|
"lodash": "~2.4.1",
|
||||||
"moment": "~2.6.0",
|
"moment": "~2.6.0",
|
||||||
"jquery": "~2.1.1",
|
"jquery": "~2.1.1"
|
||||||
"angular": "1.2.21"
|
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -211,7 +211,7 @@ gulp.task "express", ->
|
||||||
|
|
||||||
app.all "/*", (req, res, next) ->
|
app.all "/*", (req, res, next) ->
|
||||||
# Just send the index.html for other files to support HTML5Mode
|
# Just send the index.html for other files to support HTML5Mode
|
||||||
res.sendfile("index.html", {root: "#{__dirname}/dist/"})
|
res.sendFile("index.html", {root: "#{__dirname}/dist/"})
|
||||||
|
|
||||||
app.listen(9001)
|
app.listen(9001)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue