Skip to content

Commit d65862a

Browse files
committed
fix: Remove base for urls
1 parent fa721f5 commit d65862a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
# Trigger the workflow every time you push to the `main` branch
55
# Using a different branch name? Replace `main` with your branch's name
66
push:
7-
branches: [ main ]
7+
branches: [ astro ]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
1010

astro.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import sitemap from '@astrojs/sitemap';
55
// https://astro.build/config
66
export default defineConfig({
77
site: 'https://lepo.co',
8-
// Only use base path in production (GitHub Pages)
9-
base: process.env.NODE_ENV === 'production' ? '/lepoco' : '/',
8+
// No base path needed for root domain deployment
109
integrations: [sitemap()],
1110
markdown: {
1211
shikiConfig: {

0 commit comments

Comments
 (0)