17 lines
400 B
JavaScript
17 lines
400 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import node from '@astrojs/node';
|
|
|
|
export default defineConfig({
|
|
site: process.env.PUBLIC_SITE_URL || 'http://localhost:4321',
|
|
output: 'server',
|
|
adapter: node({ mode: 'standalone' }),
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 4321,
|
|
},
|
|
vite: {
|
|
server: {
|
|
allowedHosts: ['localhost', 'astro', 'astro-dev', '.localhost'],
|
|
},
|
|
},
|
|
});
|