- Add easypanel.host to allowed hosts list - Keep localhost and 127.0.0.1 for local dev - Use specific domain instead of true for security
16 lines
345 B
JavaScript
16 lines
345 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
output: 'static',
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
preview: {
|
|
host: '0.0.0.0',
|
|
allowedHosts: ['.easypanel.host', 'localhost', '127.0.0.1'],
|
|
},
|
|
},
|
|
}); |