mirror of https://github.com/Lissy93/dashy.git
⚡ Put the initialization screen back in
This commit is contained in:
parent
d5c5c4fc85
commit
a0ac7979e4
|
@ -70,7 +70,7 @@ const app = express()
|
|||
.use(sslServer.middleware)
|
||||
// Serves up static files
|
||||
.use(express.static(path.join(__dirname, 'dist')))
|
||||
.use(express.static(path.join(__dirname, 'public')))
|
||||
.use(express.static(path.join(__dirname, 'public'), { index: 'initialization.html' }))
|
||||
// Load middlewares for parsing JSON, and supporting HTML5 history routing
|
||||
.use(express.json({ limit: '1mb' }))
|
||||
.use(history())
|
||||
|
|
Loading…
Reference in New Issue