Make the linter happy

This commit is contained in:
agares
2021-11-18 19:28:44 +01:00
parent 90a14ee871
commit df28670d16

View File

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