mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Resolve any file in public/
This commit is contained in:
parent
9cda8e3000
commit
a5bf09ed2b
1 changed files with 1 additions and 2 deletions
|
|
@ -157,8 +157,7 @@ app.get('/api/v1/markers', emptyObjectController);
|
|||
app.get('/api/v1/conversations', emptyArrayController);
|
||||
app.get('/api/v1/lists', emptyArrayController);
|
||||
|
||||
app.get('/packs/*', serveStatic({ root: './public/' }));
|
||||
app.get('/instance/*', serveStatic({ root: './public/' }));
|
||||
app.get('*', serveStatic({ root: './public/' }));
|
||||
app.get('*', serveStatic({ path: './public/index.html' }));
|
||||
|
||||
app.get('/', indexController);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue