Resolve any file in public/
This commit is contained in:
parent
9cda8e3000
commit
a5bf09ed2b
|
@ -157,8 +157,7 @@ app.get('/api/v1/markers', emptyObjectController);
|
||||||
app.get('/api/v1/conversations', emptyArrayController);
|
app.get('/api/v1/conversations', emptyArrayController);
|
||||||
app.get('/api/v1/lists', emptyArrayController);
|
app.get('/api/v1/lists', emptyArrayController);
|
||||||
|
|
||||||
app.get('/packs/*', serveStatic({ root: './public/' }));
|
app.get('*', serveStatic({ root: './public/' }));
|
||||||
app.get('/instance/*', serveStatic({ root: './public/' }));
|
|
||||||
app.get('*', serveStatic({ path: './public/index.html' }));
|
app.get('*', serveStatic({ path: './public/index.html' }));
|
||||||
|
|
||||||
app.get('/', indexController);
|
app.get('/', indexController);
|
||||||
|
|
Loading…
Reference in New Issue