mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): fix portforward issue with vite (#13262)
This commit is contained in:
@@ -37,6 +37,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: process.env.PORT ? Number(process.env.PORT) : 8080,
|
||||
headers: {
|
||||
// This header corresponds to "src/api/api.ts"'s hardcoded FE token.
|
||||
|
||||
Reference in New Issue
Block a user