aboutsummaryrefslogtreecommitdiff
path: root/web/astro.config.mjs
blob: d32e23b0c34af94161700725985cc3a992bbc8d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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'  }),
    }
  }
});