Skip to content

Commit

Permalink
Update URL base
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian committed Mar 22, 2024
1 parent 61d72c3 commit 9816ba1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build": "vite build --base=/SecretRabbitMeetingBeTheChange/",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down
5 changes: 4 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const config = {
precompress: false,
fallback: 'index.html',
strict: false
})
}),
paths: {
base: "/SecretRabbitMeetingBeTheChange"
},
},
preprocess: [
preprocess({
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { UserConfig } from 'vite';

const config: UserConfig = {
plugins: [sveltekit()],
base: '/SecretRabbitMeetingBeTheChange/',
server: {
fs: {
allow: [
Expand Down

0 comments on commit 9816ba1

Please sign in to comment.