Skip to content

Commit

Permalink
fix: base path incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
FlaBBB committed Oct 26, 2024
1 parent aa7eec7 commit 7118a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
: process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}/`
: 'https://localhost:3000/',
base: 'Hacktober2024-CICD',
base: process.env.VERCEL_ENV === 'production' ? '/Hacktober2024-CICD/' : '/',
trailingSlash: 'ignore',
integrations: [sitemap(), UnoCSS({ injectReset: true })],
vite: {
Expand Down

0 comments on commit 7118a24

Please sign in to comment.