получаю сервисы из yclients
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config'
|
||||
import { defineConfig, envField } from 'astro/config'
|
||||
import tailwind from '@astrojs/tailwind'
|
||||
|
||||
import react from '@astrojs/react'
|
||||
@@ -15,4 +15,12 @@ export default defineConfig({
|
||||
prefixDefaultLocale: false,
|
||||
},
|
||||
},
|
||||
env: {
|
||||
schema: {
|
||||
YCLIENTS_API_URL: envField.string({ context: 'server', access: 'public' }),
|
||||
YCLIENTS_TOKEN: envField.string({ context: 'server', access: 'secret' }),
|
||||
YCLIENTS_ABONEMENTS_API_URL: envField.string({ context: 'server', access: 'public' }),
|
||||
YCLIENTS_ABONEMENTS_TOKEN: envField.string({ context: 'server', access: 'secret' }),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user