diff --git a/server/no-ssr.js b/server/no-ssr.js index fb693dec..4111e2aa 100644 --- a/server/no-ssr.js +++ b/server/no-ssr.js @@ -15,7 +15,6 @@ const isBrowser = (userAgent) => { export default function(req, res, next) { if (process.env.NODE_ENV === 'production' && !req.url.startsWith('/card/@')) { - console.log(req.url, isBrowser(req.headers['user-agent']), isHighLoadTime(process.env.LOCALE)); // TODO remove later res.spa = isBrowser(req.headers['user-agent']) || isHighLoadTime(process.env.LOCALE); } next(); diff --git a/server/overload.js b/server/overload.js index 647e6672..d7cc159d 100644 --- a/server/overload.js +++ b/server/overload.js @@ -1,5 +1,5 @@ const overloadPeriods = { - en: [[15, 24]], + // en: [[15, 24]], }; module.exports = (locale, timestamp = new Date) => {