From 5e24a11fa3144ec89166d0d3072d1ca095b2ed90 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Wed, 15 Apr 2020 20:03:31 +0200 Subject: [PATCH] Update CSP+ --- config/production/config.toml | 2 +- config/staging/config.toml | 2 +- layouts/index.redirects | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/production/config.toml b/config/production/config.toml index 1ef1e64..f1285c4 100644 --- a/config/production/config.toml +++ b/config/production/config.toml @@ -1,2 +1,2 @@ -baseurl = "https://doks.netlify.com/" +baseurl = "https://doks.gethyas.com/" canonifyURLs = false diff --git a/config/staging/config.toml b/config/staging/config.toml index 7fd1a79..ab3bb7b 100644 --- a/config/staging/config.toml +++ b/config/staging/config.toml @@ -1,2 +1,2 @@ -baseurl = "https://doks-staging.netlify.com/" +baseurl = "https://doks-staging.gethyas.com/" canonifyURLs = false diff --git a/layouts/index.redirects b/layouts/index.redirects index 4323285..5dddefe 100644 --- a/layouts/index.redirects +++ b/layouts/index.redirects @@ -1,3 +1,6 @@ +# Redirect default Netlify subdomain to primary domain +https://doks.netlify.com/* https://doks.gethyas.com/:splat 301! + # redirects for Netlify - https://www.netlify.com/docs/redirects/ {{- range $p := .Site.Pages -}} {{- range .Aliases }}