Sometimes my idiocy amazes even myself
This commit is contained in:
parent
ccbb150013
commit
d915f901e9
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ app.use(limiter);
|
|||
app.use('/', express.static(path.join(__dirname, '../static')));
|
||||
|
||||
// Navigate to the admin route in the client
|
||||
app.get('*', (_req, res) => {
|
||||
app.get('/admin', (_req, res) => {
|
||||
res.sendFile(path.resolve(__dirname, '../static', 'index.html'));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue