From 8c3c5cc4e91c2d2b133880159480a6170b44330a Mon Sep 17 00:00:00 2001 From: devtobi <28538704+devtobi@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:22:47 +0100 Subject: [PATCH] :wrench: Exposed dev server to other networks to be able to use it behind API gateway --- refarch-frontend/package.json | 1 - refarch-frontend/vite.config.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/refarch-frontend/package.json b/refarch-frontend/package.json index 82a9ed59..4c01e25d 100644 --- a/refarch-frontend/package.json +++ b/refarch-frontend/package.json @@ -10,7 +10,6 @@ "dev": "vite", "test": "vitest run", "build": "vue-tsc --build --noCheck && vite build", - "preview": "vite preview", "lint": "prettier . --check && eslint . && vue-tsc --noEmit", "fix": "prettier . --write && eslint . --fix" }, diff --git a/refarch-frontend/vite.config.ts b/refarch-frontend/vite.config.ts index df34e8a8..a4d62446 100644 --- a/refarch-frontend/vite.config.ts +++ b/refarch-frontend/vite.config.ts @@ -33,6 +33,7 @@ export default defineConfig({ vueDevTools(), ], server: { + host: true, port: 8081, proxy: { "/api": "http://localhost:8083",