proper 404 page path
This commit is contained in:
parent
8b288ce4c0
commit
4ca329d8af
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ app.use(
|
||||||
|
|
||||||
// Cannot find any file
|
// Cannot find any file
|
||||||
app.use(
|
app.use(
|
||||||
allFiles, express.static(serveDir + '/core/404.html', expressConfig)
|
allFiles, express.static(serveDir + '/.404.html', expressConfig)
|
||||||
);
|
);
|
||||||
|
|
||||||
const server = app.listen(PORT, function () {
|
const server = app.listen(PORT, function () {
|
||||||
|
|
Reference in a new issue