Dockerize added vite.config.js
This commit is contained in:
parent
25b029977f
commit
a98b504e62
16
vite.config.js
Normal file
16
vite.config.js
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// vite.config.js
|
||||||
|
export default {
|
||||||
|
preview: {
|
||||||
|
// Add the Coolify domain to the allowed hosts list
|
||||||
|
allowedHosts: [
|
||||||
|
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
|
||||||
|
'reflectonai.com', // Also allow the parent domain
|
||||||
|
'localhost',
|
||||||
|
'all' // Allow all hosts (alternative option if specific domains don't work)
|
||||||
|
]
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
// Also configure the dev server to accept external connections
|
||||||
|
host: '0.0.0.0'
|
||||||
|
}
|
||||||
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user