// @ts-check import { defineConfig, envField } from 'astro/config' import tailwind from '@astrojs/tailwind' import react from '@astrojs/react' // https://astro.build/config export default defineConfig({ integrations: [tailwind(), react()], prefetch: true, i18n: { locales: ['ru', 'en'], defaultLocale: 'ru', routing: { prefixDefaultLocale: false, }, }, server: { headers: { 'Permissions-Policy': 'browsing-topics=()', }, }, env: { schema: { YCLIENTS_API_URL: envField.string({ context: 'server', access: 'public' }), YCLIENTS_TOKEN: envField.string({ context: 'server', access: 'secret' }), }, }, })