From dedfb5ed484854611368bcf8623740e46f1902f7 Mon Sep 17 00:00:00 2001 From: Rodrigo Pombo Date: Mon, 7 Oct 2019 17:04:54 -0300 Subject: [PATCH] Add redirects --- netlify.toml | 2 -- sites/docs/static/_redirects | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index e9528160..88fe342f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,5 +2,3 @@ base = "" command = "yarn predeploy" publish = "sites/dist/" - -/:site/* /:site/index.html 200 \ No newline at end of file diff --git a/sites/docs/static/_redirects b/sites/docs/static/_redirects index 7576401b..31b767a2 100644 --- a/sites/docs/static/_redirects +++ b/sites/docs/static/_redirects @@ -1,2 +1,4 @@ # Redirect domain aliases to primary domain -https://codesurfer.js.org/* https://codesurfer.pomb.us/:splat 301! \ No newline at end of file +https://codesurfer.js.org/* https://codesurfer.pomb.us/:splat 301! + +/:site/* /:site/index.html 200 \ No newline at end of file