fix vite client connection in docker
This commit is contained in:
@@ -6,6 +6,10 @@ import sveltePreprocess from "svelte-preprocess";
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
server: {
|
server: {
|
||||||
port: 8080,
|
port: 8080,
|
||||||
|
hmr: {
|
||||||
|
// workaround for development in docker
|
||||||
|
clientPort: 80,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
svelte({
|
svelte({
|
||||||
|
|||||||
Reference in New Issue
Block a user