Initial
This commit is contained in:
1 parent
0ca98deaf5
commit
c460dd9715
77 files changed
+59
-59
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