mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Revert "Set cache to private for the language resources"
This reverts commit 90a14ee871.
This commit is contained in:
@@ -21,9 +21,6 @@ api.geti18nBrowserScript = {
|
||||
url: '/i18n/browser-script',
|
||||
async handler (req, res) {
|
||||
if (IS_PROD) {
|
||||
res.set({
|
||||
'Cache-Control': 'private'
|
||||
});
|
||||
res.sendFile(`${BROWSER_SCRIPT_CACHE_PATH}${req.language}.js`);
|
||||
} else {
|
||||
res.set({
|
||||
|
||||
Reference in New Issue
Block a user