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
30 lines
674 B
JavaScript
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' }),
|
|
},
|
|
},
|
|
})
|