← back to Goodquestion Ai
astro.config.mjs
14 lines
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://goodquestion.ai',
integrations: [mdx(), sitemap()],
output: 'static',
// Bind dev/preview to all IPv4 interfaces (0.0.0.0) instead of Astro's
// IPv6-only `localhost` default, so http://127.0.0.1:4321/ and LAN devices
// both connect. Without this, only http://localhost (::1) resolves.
server: { host: true },
});