aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/svelte.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:47:36 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:47:36 +0100
commitb679103a4ce1ee87394c318f41b4cd12d2d41709 (patch)
treec9312a431c8f444d4944b720397c4ad36ba5cbe0 /web/pw-server/svelte.config.js
parentad11ae42865f12d411b34dd37c6b6949cc96a5ea (diff)
downloadplanetwars.dev-b679103a4ce1ee87394c318f41b4cd12d2d41709.tar.xz
planetwars.dev-b679103a4ce1ee87394c318f41b4cd12d2d41709.zip
update sveltekit version
Diffstat (limited to 'web/pw-server/svelte.config.js')
-rw-r--r--web/pw-server/svelte.config.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js
index f2587f7..4eddd58 100644
--- a/web/pw-server/svelte.config.js
+++ b/web/pw-server/svelte.config.js
@@ -14,8 +14,7 @@ const config = {
adapter: adapter(),
// hydrate the <div id="svelte"> element in src/app.html
- target: "#svelte",
- ssr: false,
+ // target: "#svelte",
vite: {
plugins: [
isoImport(),
@@ -31,7 +30,7 @@ const config = {
},
server: {
proxy: {
- "/api/": "http://localhost:9000",
+ "/api/": "http://127.0.0.1:9000",
"/ws": "ws://localhost:9000/ws",
},
fs: {