Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 15, 2025
1 parent 4a7cab5 commit b78ec28
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
import type { defineConfig } from "astro/config";
import { defineConfig, envField } from "astro/config";

export const On = process.env["NODE_ENV"] === "development";

export default (await import("astro/config")).defineConfig({
env: {
schema: {
Token: envField.string({
context: "server",
access: "secret",
optional: false,
default: "GitHub Token API Stream",
}),
},
validateSecrets: true,
},
srcDir: "./Source",
publicDir: "./Public",
outDir: "./Target",
Expand Down

0 comments on commit b78ec28

Please sign in to comment.