Revert "Set cache to private for the language resources"

This reverts commit 90a14ee871.
This commit is contained in:
SabreCat
2021-11-18 15:18:53 -06:00
parent 31469a2d70
commit c6d1954153

View File

@@ -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({