diff --git a/netlify.toml b/netlify.toml index f18db93..e420927 100644 --- a/netlify.toml +++ b/netlify.toml @@ -26,9 +26,9 @@ [headers.values] Access-Control-Allow-Origin = "*" Access-Control-Allow-Headers = "Content-Type" - # X-XSS-Protection = "1; mode=block" - # Referrer-Policy = "no-referrer" - # X-Content-Type-Options = "nosniff" + X-XSS-Protection = "1; mode=block" + Referrer-Policy = "no-referrer" + X-Content-Type-Options = "nosniff" # Strict-Transport-Security = "max-age=15780000; includeSubDomains; preload" # Feature-Policy = "geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'none'; payment 'none'" # Content-Security-Policy = "default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'" @@ -45,4 +45,16 @@ to = "https://testing.2cubedtest.com/:splat" status = 200 headers = {Access-Control-Allow-Origin = "*", Access-Control-Allow-Headers = "Content-Type, *", Access-Control-Allow-Methods = "GET, POST", Access-Control-Allow-Credentials= "true"} + +[[redirects]] + from = "http://woonuxt.com/*" + to = "https://woonuxt.com/:splat" + status = 301 + headers = {Access-Control-Allow-Origin = "*", Access-Control-Allow-Headers = "Content-Type, *", Access-Control-Allow-Methods = "GET, POST", Access-Control-Allow-Credentials= "true"} + +[[redirects]] + from = "http://www.woonuxt.com/*" + to = "https://woonuxt.com/:splat" + status = 301 + headers = {Access-Control-Allow-Origin = "*", Access-Control-Allow-Headers = "Content-Type, *", Access-Control-Allow-Methods = "GET, POST", Access-Control-Allow-Credentials= "true"} \ No newline at end of file diff --git a/package.json b/package.json index 659a5f1..34ffa48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "woonuxt", - "version": "0.3.25", + "version": "0.3.26", "private": true, "scripts": { "dev": "nuxi dev",