This commit is contained in:
@@ -131,9 +131,10 @@ if (SERVE_WEB) {
|
||||
const __dirname = path.dirname(__filename)
|
||||
const dev = process.env.NODE_ENV !== 'production'
|
||||
|
||||
// @ts-ignore
|
||||
const nextApp = next({
|
||||
dev,
|
||||
dir: path.join(__dirname, 'viewer')
|
||||
dir: path.join(__dirname, '../viewer')
|
||||
})
|
||||
|
||||
const handle = nextApp.getRequestHandler()
|
||||
|
||||
Reference in New Issue
Block a user