mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Fix matching @ routes in app
This commit is contained in:
parent
4bf3096454
commit
443c8a43f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue