From faf8d1e434e840d1f582dc7685fdd4e20eda1e7f Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:07:02 -0600 Subject: [PATCH] ready for production --- docusaurus.config.ts | 2 +- static/robots.txt | 4 ++-- wrangler.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 4ee237305c..fce2b598a5 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -10,7 +10,7 @@ const config: Config = { favicon: 'img/favicon.png', // Set the production url of your site here - url: 'https://docs-cloudflare.prisma.io', + url: 'https://www.prisma.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: DOCUSAURUS_BASE_URL ?? '/', diff --git a/static/robots.txt b/static/robots.txt index 13bf520aa5..48e72177db 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,8 +1,8 @@ User-agent: * -# Disallow: / +Disallow: / Disallow: /*?query=* Disallow: /*?page=* Disallow: /*&query=* Disallow: /*&page=* -Sitemap: https://docs-cloudflare.prisma.io/sitemap.xml +Sitemap: https://www.prisma.io/docs/sitemap.xml Host: https://www.prisma.io diff --git a/wrangler.toml b/wrangler.toml index cf48e11e56..8830c0843f 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -10,4 +10,4 @@ DOCUSAURUS_BASE_URL='/' DOCUSAURUS_BASE_URL='/' [env.production.vars] -DOCUSAURUS_BASE_URL='/' +DOCUSAURUS_BASE_URL='/docs/'