Update
This commit is contained in:
1 parent
c460dd9715
commit
b780bff850
219 files changed
+197
-122
No files matched your search
+1
-1
@@ -90,7 +90,7 @@ export class WebServer {
|
||||
});
|
||||
|
||||
// Serve dashboard for all other routes
|
||||
this.app.get('(.*)', (req, res) => {
|
||||
this.app.get(/.*/, (req, res) => {
|
||||
res.sendFile(path.join(process.cwd(), 'public', 'index.html'));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user