Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:zap: Put the initialization screen back in

Alicia Sykesa0ac7979e40b
diff --git a/server.js b/server.js
index 4da6dafb..b9b39988 100644
--- a/server.js
+++ b/server.js
@@ -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())