fix vite client connection in docker

This commit is contained in:
Lukas Hass 2022-01-31 18:35:16 +01:00
parent 3d6b8b6063
commit b1e9969ed8
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178

View File

@ -6,6 +6,10 @@ import sveltePreprocess from "svelte-preprocess";
export default defineConfig({
server: {
port: 8080,
hmr: {
// workaround for development in docker
clientPort: 80,
}
},
plugins: [
svelte({