Update astro.config.mjs file to allow domain
This commit is contained in:
parent
a98b504e62
commit
d97d28202b
@ -5,7 +5,27 @@ import tailwindcss from '@tailwindcss/vite';
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
server: {
|
||||||
|
host: '0.0.0.0'
|
||||||
|
},
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [tailwindcss()]
|
plugins: [tailwindcss()],
|
||||||
|
preview: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
port: 4321,
|
||||||
|
// Add the Coolify domain to allowed hosts
|
||||||
|
allowedHosts: [
|
||||||
|
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
|
||||||
|
'reflectonai.com',
|
||||||
|
'all'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
watch: {
|
||||||
|
// Enable polling for file changes in Docker
|
||||||
|
usePolling: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user