1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Import ENVs

This commit is contained in:
Korbs 2024-06-06 17:51:07 -04:00
parent f86774e3ac
commit 0c6d1ebd06

View file

@ -1,5 +1,10 @@
import { defineConfig } from 'astro/config';
const SITE_NAME = import.meta.env.SITE_NAME;
const SITE_PROTOCOL = import.meta.env.SITE_PROTOCOL;
const SITE_DOMAIN = import.meta.env.SITE_DOMAIN;
const SITE_BASE = import.meta.env.SITE_BASE;
// Adapters
import node from '@astrojs/node';
@ -9,7 +14,8 @@ import mdx from '@astrojs/mdx';
import partytown from '@astrojs/partytown';
export default defineConfig({
site: 'docs.company.net',
site: SITE_PROTOCOL + '://' + SITE_DOMAIN,
base: SITE_BASE,
output: "hybrid",
prefetch: true,
adapter: node({