From fdacd641f623e1ce27aa3abc9a8da4df25a7204c Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Fri, 20 Sep 2024 14:39:25 +0200 Subject: [PATCH] first path fix attempt --- astro.config.mjs | 4 ++-- src/statics.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 0c6eb9d..7bdd24e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -16,8 +16,8 @@ import sitemap from '@astrojs/sitemap'; // https://astro.build/config export default defineConfig({ integrations: [tailwind(), mdx(), icon(), pagefind(), sitemap()], - site: 'https://nfdi4plants.github.io', - base: '/arc-website/', // will kill pagefind integration without trailing slash + site: 'https://arc-rdm.org/', + // base: '/arc-website/', // will kill pagefind integration without trailing slash markdown: { remarkPlugins: [remarkDirective, remarkReplaceLinks(), remarkReplaceTooltips(), remarkAsides()], rehypePlugins: [ diff --git a/src/statics.ts b/src/statics.ts index 1a8eb41..fda64df 100644 --- a/src/statics.ts +++ b/src/statics.ts @@ -1,5 +1,6 @@ -const BASE_PATH = "/arc-website/" +// const BASE_PATH = "/arc-website/" +const BASE_PATH = "" export enum URLS { INTERNAL_HOME = BASE_PATH,