Sometimes my idiocy amazes even myself

This commit is contained in:
pedrocx486 2025-01-27 23:50:03 -03:00
parent ccbb150013
commit d915f901e9

View file

@ -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'));
});