mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-17 04:14:25 +01:00
Fix matching @ routes in app
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user