Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f6b1c2

Browse files
chore: enable forward ports to Coder UI using any host for Vite dev server (coder#16530)
This enables forward ports to Coder UI using custom domains.
1 parent e85da8b commit 6f6b1c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/vite.config.mts

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export default defineConfig({
8484
secure: process.env.NODE_ENV === "production",
8585
},
8686
},
87+
allowedHosts: true,
8788
},
8889
resolve: {
8990
alias: {

0 commit comments

Comments
 (0)