mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Make the linter happy
This commit is contained in:
@@ -22,7 +22,7 @@ api.geti18nBrowserScript = {
|
|||||||
async handler (req, res) {
|
async handler (req, res) {
|
||||||
if (IS_PROD) {
|
if (IS_PROD) {
|
||||||
res.set({
|
res.set({
|
||||||
'Cache-Control': 'private'
|
'Cache-Control': 'private',
|
||||||
});
|
});
|
||||||
res.sendFile(`${BROWSER_SCRIPT_CACHE_PATH}${req.language}.js`);
|
res.sendFile(`${BROWSER_SCRIPT_CACHE_PATH}${req.language}.js`);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user