Fix matching @ routes in app

This commit is contained in:
Alex Gleason
2024-08-09 21:07:41 -05:00
parent 4bf3096454
commit 443c8a43f7

View File

@@ -327,8 +327,8 @@ const publicFiles = serveStatic({ root: './public/' });
const staticFiles = serveStatic({ root: './static/' });
// Known frontend routes
app.get('/@:acct', frontendController);
app.get('/@:acct/*', frontendController);
app.get('/:acct{@.*}', frontendController);
app.get('/:acct{@.*}/*', frontendController);
app.get('/users/*', frontendController);
app.get('/statuses/*', frontendController);
app.get('/notice/*', frontendController);