diff --git a/lib/App/routePage.js b/lib/App/routePage.js index 1ce5ef5..0cb5604 100644 --- a/lib/App/routePage.js +++ b/lib/App/routePage.js @@ -18,12 +18,12 @@ const fastCompressionOptions = { } const mobileMetaTag = '' -const manifestTag = '' +const manifestTag = '' // const styleTag = '' const styleTag = '' const scriptTag = '' -const styleLoaderPolyfill = '' +const styleLoaderPolyfill = '' module.exports = function(page) { // Register page @@ -68,13 +68,13 @@ module.exports = function(page) { const headers = Object.assign({ 'Content-Type': 'text/html;charset=utf-8', 'Link': '; rel=preload; as=style,; rel=preload; as=script', - // 'Content-Security-Policy': 'default-src https: \'unsafe-inline\' \'unsafe-eval\'', - 'Server': 'Aero', - 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'Vary': 'Accept-Encoding', + 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', + // 'Content-Security-Policy-Report-Only': 'default-src https:', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', - 'X-XSS-Protection': '1; mode=block' + 'X-XSS-Protection': '1; mode=block', + 'Server': 'Aero' }, this.config.headers) // Allow resource loading on self-signed certificates