mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:40:44 +00:00
remove no cache from /api/env
This commit is contained in:
@@ -145,11 +145,6 @@ app.get("/api/env", (req, res) => {
|
||||
const envConfig = {
|
||||
game_env: process.env.GAME_ENV || "prod",
|
||||
};
|
||||
|
||||
res.set("Cache-Control", "no-cache, no-store, must-revalidate");
|
||||
res.set("Pragma", "no-cache");
|
||||
res.set("Expires", "0");
|
||||
|
||||
res.json(envConfig);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user