1
0
Commit Graph

13 Commits

Author SHA1 Message Date
a12c169ce8 fix: do not send etag when serving the frontend index file
Without this change, the browser may serve an outdated index.html file which usually does not work, showing the user only a blank page.
2024-02-13 21:32:41 +01:00
641fec1215 fix: never return frontend on routes starting with /api
This fixes a problem where Vikunja would sometimes return the html for the frontend when accessing an api route for a nonexistent ressource, because the static handler was the next best.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2110
2024-02-13 10:05:15 +01:00
d36b1608cf fix: lint 2024-02-09 15:32:12 +01:00
ca68b52991 feat: replace api url with public url 2024-02-09 14:44:41 +01:00
2d32d900c8 feat: replace api url with public url 2024-02-09 14:42:07 +01:00
78df83ee69 feat: replace api url 2024-02-09 14:38:54 +01:00
db2ec45378 feat: move custom logo setting to api 2024-02-09 14:33:21 +01:00
d7dc209f15 feat: move allow icon changes setting to api 2024-02-09 14:30:21 +01:00
a0e770438d feat: move sentry configuration from frontend to api 2024-02-09 14:24:29 +01:00
b3228794c7 feat: add caching rules for more files 2024-02-09 13:42:05 +01:00
9c45d9ca15 feat: cache header and etag generation 2024-02-09 13:41:51 +01:00
81455242ae chore: copy static file handler 2024-02-09 13:41:50 +01:00
6c5194b892 feat: bundle frontend files with api in one static bundle 2024-02-09 13:41:50 +01:00