fix: AGB.pdf Download funktioniert jetzt
- Route für /AGB.pdf hinzugefügt (serveStatic) - AGB.pdf wird aus dem public-Verzeichnis bereitgestellt - Behebt Problem, dass Link zur Startseite führte
This commit is contained in:
@@ -62,6 +62,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
app.use('/assets/*', serveStatic({ root: './dist' }));
|
||||
}
|
||||
app.use('/favicon.png', serveStatic({ path: './public/favicon.png' }));
|
||||
app.use('/AGB.pdf', serveStatic({ path: './public/AGB.pdf' }));
|
||||
|
||||
app.route("/rpc", rpcApp);
|
||||
app.route("/caldav", caldavApp);
|
||||
|
Reference in New Issue
Block a user