diff --git a/docs/netlify.toml b/docs/netlify.toml deleted file mode 100644 index c19c5d980b..0000000000 --- a/docs/netlify.toml +++ /dev/null @@ -1,21 +0,0 @@ -# This is a workaround to address the problem around the baseUrl from docusaurus -# Be aware that this prevents the usage of the path /docs/docs -[[redirects]] - from = "/docs/*" - to = "/:splat" - status = 200 - force = true - -[[redirects]] - from = "/" - to = "/docs" - status = 302 - force = true - -[[headers]] - for = "/*" - [headers.values] - Strict-Transport-Security = ''' - max-age=31536000; - includeSubDomains; - preload''' diff --git a/docs/vercel.json b/docs/vercel.json new file mode 100644 index 0000000000..d1aa4cc7a8 --- /dev/null +++ b/docs/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { "source": "/docs/:match*", "destination": "/:match*" } + ], + "redirects": [ + { "source": "/", "destination": "/docs" } + ] +} \ No newline at end of file