adapt preview setting
This commit is contained in:
parent
bfaeba0cee
commit
0c633ae6c9
@ -1,8 +1,12 @@
|
||||
// vite.config.js
|
||||
export default {
|
||||
preview: {
|
||||
// Allow ALL hosts - maximum flexibility for domain changes
|
||||
allowedHosts: true
|
||||
host: '0.0.0.0', // Ensure preview server also listens on all interfaces
|
||||
allowedHosts: [
|
||||
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
|
||||
// Add other specific domains if needed, or localhost for local testing
|
||||
'localhost'
|
||||
]
|
||||
},
|
||||
server: {
|
||||
// Also configure the dev server to accept external connections
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user