allow all hosts in preview for reverse proxy
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ export default defineConfig(({ mode }) => {
|
||||
envDir,
|
||||
envPrefix: ['VITE_', 'RPC', 'KYBERSWAP_'],
|
||||
server: { port: 5173, proxy },
|
||||
preview: { port: 4173, proxy },
|
||||
preview: { port: 4173, proxy, allowedHosts: true },
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
||||
Reference in New Issue
Block a user