Skip to content

Commit ca82b76

Browse files
authored
Merge pull request #229 from langx/claude/drop-dead-base-path
Drop the base path SvelteKit never read, and CI's BASE_PATH behind it
2 parents 27f10ac + f0a2353 commit ca82b76

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
4646
- name: build
4747
env:
48-
BASE_PATH: '/${{ github.event.repository.name }}'
4948
# A repository *variable*, not a secret, and deliberately so: Vite
5049
# inlines this into the bundle every visitor downloads, so calling it
5150
# a secret would only be theatre. A PostHog project API key can write

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,5 @@ jobs:
3737
run: npm run check
3838

3939
- name: build
40-
env:
41-
BASE_PATH: '/${{ github.event.repository.name }}'
4240
run: |
4341
npm run build

‎svelte.config.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,4 @@ const config = {
6464
extensions: extensions
6565
};
6666

67-
config.paths = { base: process.argv.includes('dev') ? '' : process.env.BASE_PATH };
68-
6967
export default config;

0 commit comments

Comments
 (0)