20 lines
454 B
JavaScript
20 lines
454 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import react from '@astrojs/react';
|
|
import netlify from '@astrojs/netlify';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [react()],
|
|
output: 'server',
|
|
adapter: netlify(),
|
|
site: process.env.PUBLIC_SITE_URL ?? 'http://localhost:4321',
|
|
i18n: {
|
|
locales: ['ua', 'en'],
|
|
defaultLocale: 'ua',
|
|
routing: {
|
|
prefixDefaultLocale: true,
|
|
},
|
|
},
|
|
});
|