Skip to content

Commit f67677f

Browse files
committed
Fix typicode#1079 404 error on home page
1 parent d945126 commit f67677f

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/server/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const bodyParser = require('./body-parser')
99

1010
module.exports = function(opts) {
1111
const userDir = path.join(process.cwd(), 'public')
12-
const defaultDir = path.join(__dirname, '../front')
12+
const defaultDir = path.join(__dirname, '../../public')
1313
const staticDir = fs.existsSync(userDir) ? userDir : defaultDir
1414

1515
opts = Object.assign({ logger: true, static: staticDir }, opts)

0 commit comments

Comments
 (0)