mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Revert "add support for assetlinks.json well-known file"
https://gitlab.com/soapbox-pub/ditto/-/merge_requests/578#note_2192706334
This reverts commit 31de1f6176.
This commit is contained in:
parent
31de1f6176
commit
04cc8d6ab4
1 changed files with 3 additions and 4 deletions
|
|
@ -192,12 +192,8 @@ app.use(
|
|||
|
||||
app.get('/metrics', metricsController);
|
||||
|
||||
const publicFiles = serveStatic({ root: './public/' });
|
||||
const staticFiles = serveStatic({ root: './static/' });
|
||||
|
||||
app.get('/.well-known/nodeinfo', nodeInfoController);
|
||||
app.get('/.well-known/nostr.json', nostrController);
|
||||
app.get('/.well-known/assetlinks.json', publicFiles);
|
||||
|
||||
app.get('/nodeinfo/:version', nodeInfoSchemaController);
|
||||
app.get('/manifest.webmanifest', manifestController);
|
||||
|
|
@ -370,6 +366,9 @@ app.use('/.well-known/*', notImplementedController);
|
|||
app.use('/nodeinfo/*', notImplementedController);
|
||||
app.use('/oauth/*', notImplementedController);
|
||||
|
||||
const publicFiles = serveStatic({ root: './public/' });
|
||||
const staticFiles = serveStatic({ root: './static/' });
|
||||
|
||||
// Known frontend routes
|
||||
app.get('/:acct{@.*}', frontendController);
|
||||
app.get('/:acct{@.*}/*', frontendController);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue