diff --git a/.gitignore b/.gitignore index 33bbc05..fe6a775 100644 --- a/.gitignore +++ b/.gitignore @@ -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-* \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index ae5e754..e76afae 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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