diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-02-25 23:13:39 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-02-25 23:13:39 -0500 |
| commit | 5777f96394444dab18a81d6f085ac81df3e62008 (patch) | |
| tree | 47dc895e50fa95b52a894bf0806e1a6c1edc8818 /web/astro.config.mjs | |
| parent | de5ee661cad7b1fef0f319cbaccd888cb75a1dd4 (diff) | |
| download | AleeBot-2.13.0.tar.gz AleeBot-2.13.0.tar.bz2 AleeBot-2.13.0.zip | |
2.13 Release (finally); Added more API entries; Proper loggingv2.13.0
Diffstat (limited to 'web/astro.config.mjs')
| -rw-r--r-- | web/astro.config.mjs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/web/astro.config.mjs b/web/astro.config.mjs index c0fd9ad..d32e23b 100644 --- a/web/astro.config.mjs +++ b/web/astro.config.mjs @@ -1,5 +1,5 @@ // @ts-check -import { defineConfig } from 'astro/config'; +import { defineConfig, envField } from 'astro/config'; import react from '@astrojs/react'; @@ -11,5 +11,11 @@ export default defineConfig({ adapter: node({ mode: 'standalone' - }) + }), + + env: { + schema: { + API_URL: envField.string({ context: 'client', access: 'public' }), + } + } }); |
