Skip to content

Commit 8412450

Browse files
chore(site): fix portforward issue with vite (coder#13262)
1 parent c41d0ef commit 8412450

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/vite.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default defineConfig({
3737
},
3838
},
3939
server: {
40+
host: "127.0.0.1",
4041
port: process.env.PORT ? Number(process.env.PORT) : 8080,
4142
headers: {
4243
// This header corresponds to "src/api/api.ts"'s hardcoded FE token.

0 commit comments

Comments
 (0)