Skip to content

Commit

Permalink
Uses ENV var to determine base url
Browse files Browse the repository at this point in the history
  • Loading branch information
mzen17 committed Feb 5, 2024
1 parent 0644c19 commit 0b4c539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ node_modules
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Don't change base_url in prod
.svelte.config.js
vite.config.ts.timestamp-*
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const config = {

kit: {
paths: {
base: '/proxy/5173'
base: process.env.BASE_URL
},
adapter: adapter({
// default options are shown. On some platforms
Expand Down

0 comments on commit 0b4c539

Please sign in to comment.