Remove CDN usage

Cache Partitioning is now a thing in browsers.
This negates the advantage of a CDN.
This commit is contained in:
Wingy 2020-12-01 21:39:11 -05:00
parent a7b7a00b14
commit f3cfc6abe0
2 changed files with 3 additions and 13 deletions

View file

@ -12,7 +12,6 @@ module.exports = {
sessionMaxAge: Number(process.env.SESSION_MAX_AGE) || 1000 * 60 * 60 * 24 * 7,
siteTitle: process.env.SITE_TITLE || 'Christmas Community',
shortTitle: process.env.SHORT_TITLE || 'Christmas',
useCDN: yesNo.parse(process.env.USE_CDN || true),
wishlist: require('./wishlist'),
base: (process.env.ROOT_PATH || '/').endsWith('/') ? (process.env.ROOT_PATH || '/') : `${process.env.ROOT_PATH}/`,
trustProxy: process.env.TRUST_PROXY === 'true' ? true : process.env.TRUST_PROXY || 'loopback',