mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-06 23:24:22 +01:00
Resolve any file in public/
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user