Skip to content

Commit

Permalink
🔧 Exposed dev server to other networks to be able to use it behind AP…
Browse files Browse the repository at this point in the history
…I gateway
  • Loading branch information
devtobi committed Dec 11, 2024
1 parent 72c5c90 commit 8c3c5cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion refarch-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
1 change: 1 addition & 0 deletions refarch-frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default defineConfig({
vueDevTools(),
],
server: {
host: true,
port: 8081,
proxy: {
"/api": "http://localhost:8083",
Expand Down

0 comments on commit 8c3c5cc

Please sign in to comment.