From 026709f26115808d90ffe2ae9b6faba1d429bbb5 Mon Sep 17 00:00:00 2001 From: FlaBBB Date: Sat, 26 Oct 2024 09:56:44 +0700 Subject: [PATCH] fix: incorrect base for github pages --- astro.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astro.config.ts b/astro.config.ts index 69d98f3..fde33bd 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ : process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}/` : 'https://localhost:3000/', - base: process.env.VERCEL_ENV === 'production' ? '/Hacktober2024-CICD/' : '/', + base: 'Hacktober2024-CICD', trailingSlash: 'ignore', integrations: [sitemap(), UnoCSS({ injectReset: true })], vite: {