Compare commits

..

3 Commits

Author SHA1 Message Date
SabreCat
aefe4a6ee3 4.211.8 2021-11-18 15:19:02 -06:00
SabreCat
c6d1954153 Revert "Set cache to private for the language resources"
This reverts commit 90a14ee871.
2021-11-18 15:18:53 -06:00
SabreCat
31469a2d70 Revert "Make the linter happy"
This reverts commit df28670d16.
2021-11-18 15:18:30 -06:00
3 changed files with 2 additions and 5 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "habitica",
"version": "4.211.7",
"version": "4.211.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,7 +1,7 @@
{
"name": "habitica",
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
"version": "4.211.7",
"version": "4.211.8",
"main": "./website/server/index.js",
"dependencies": {
"@babel/core": "^7.16.0",

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