1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

fix config path (#537)

This commit is contained in:
Naoyuki Kanezawa 2016-12-28 08:27:51 +09:00 committed by Guillermo Rauch
parent 65e7ab0227
commit 815f17989b

View file

@ -25,7 +25,7 @@ export default class Server {
this.router = new Router()
this.hotReloader = dev ? new HotReloader(this.dir, { quiet }) : null
this.http = null
this.config = getConfig(dir)
this.config = getConfig(this.dir)
this.defineRoutes()
}