Skip to content

Commit 70e2ca2

Browse files
committed
mobile ux
1 parent ad323fe commit 70e2ca2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import sitemap from '@astrojs/sitemap';
66
// https://astro.build/config
77
export default defineConfig({
88
site: 'https://serrexlabs.github.io',
9-
base: '/minimal_press',
9+
// Only use base path for GitHub Pages deployment
10+
base: process.env.GITHUB_ACTIONS ? '/minimal_press' : undefined,
1011
integrations: [
1112
mdx(),
1213
sitemap(),

0 commit comments

Comments
 (0)