aboutsummaryrefslogtreecommitdiff
path: root/web/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'web/astro.config.mjs')
-rw-r--r--web/astro.config.mjs21
1 files changed, 21 insertions, 0 deletions
diff --git a/web/astro.config.mjs b/web/astro.config.mjs
new file mode 100644
index 0000000..d32e23b
--- /dev/null
+++ b/web/astro.config.mjs
@@ -0,0 +1,21 @@
+// @ts-check
+import { defineConfig, envField } from 'astro/config';
+
+import react from '@astrojs/react';
+
+import node from '@astrojs/node';
+
+// https://astro.build/config
+export default defineConfig({
+ integrations: [react()],
+
+ adapter: node({
+ mode: 'standalone'
+ }),
+
+ env: {
+ schema: {
+ API_URL: envField.string({ context: 'client', access: 'public' }),
+ }
+ }
+});