Add static serving for /icons/* and manifest.json
This commit is contained in:
@@ -63,6 +63,8 @@ if (process.env.NODE_ENV === 'production') {
|
||||
}
|
||||
app.use('/favicon.png', serveStatic({ path: './public/favicon.png' }));
|
||||
app.use('/AGB.pdf', serveStatic({ path: './public/AGB.pdf' }));
|
||||
app.use('/icons/*', serveStatic({ root: './public' }));
|
||||
app.use('/manifest.json', serveStatic({ path: './public/manifest.json' }));
|
||||
|
||||
app.route("/rpc", rpcApp);
|
||||
app.route("/caldav", caldavApp);
|
||||
|
Reference in New Issue
Block a user