Don't cache ETags for /files/ endpoint.

As we have no practical way of invalidating those.
This commit is contained in:
D. Berge
2023-09-02 16:06:31 +02:00
parent 308eda6342
commit c4b330b2bb

View File

@@ -259,7 +259,7 @@ app.map({
get: [ mw.auth.access.write, mw.files.get ]
},
'/files/?:path(*)': {
get: [ mw.auth.access.write, mw.files.get ]
get: [ mw.auth.access.write, mw.etag.noSave, mw.files.get ]
},
'/navdata/': {
get: [ mw.navdata.get ],