Fix cache control for geoip response

Storing this in public caches is not actually safe.
This commit is contained in:
sfan5
2022-09-20 22:49:13 +02:00
parent b0fed2e9f7
commit 218f8d9bc5

View File

@@ -66,7 +66,7 @@ def geoip():
"continent": continent, # null on error
})
resp.cache_control.max_age = 7 * 86400
resp.cache_control.public = True
resp.cache_control.private = True
return resp