mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'at-match' into 'main'
Fix matching @ routes in app See merge request soapbox-pub/ditto!452
This commit is contained in:
commit
6657a48a07
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