Files
real-skill-landing/astro.config.mjs
Yuu Ottosoka 2f4e0d59aa refactor: simplify yclients API integration and improve UI components
remove unused abonements API configuration and endpoints
add escape key handler for drawer component
implement text truncation for service descriptions
sync swiper navigation between service tabs and content
add static gym rental service to services list
2025-09-13 20:40:20 +03:00

30 lines
674 B
JavaScript

// @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' }),
},
},
})