Kremta-Website/astro.config.mjs

19 lines
568 B
JavaScript
Raw Permalink Normal View History

// @ts-check
import netlify from "@astrojs/netlify";
2025-10-06 12:54:47 +00:00
import react from "@astrojs/react";
import { defineConfig, envField } from "astro/config";
2025-10-06 12:54:47 +00:00
2025-10-26 17:35:51 +00:00
import vtbot from "astro-vtbot";
2025-10-06 12:54:47 +00:00
// https://astro.build/config
export default defineConfig({
2025-10-26 17:35:51 +00:00
integrations: [react(), vtbot()],
adapter: netlify(),
env: {
schema: {
CLIENT_ID: envField.string({ context: "server", access: "secret" }),
CLIENT_SECRET: envField.string({ context: "server", access: "secret" }),
REFRESH_TOKEN: envField.string({ context: "server", access: "secret" }),
2025-10-06 17:46:53 +00:00
},
},
2025-10-26 17:35:51 +00:00
});