This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// @ts-check
|
||||
import { defineConfig, envField } from 'astro/config';
|
||||
|
||||
import icon from 'astro-icon';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
import svelte, { vitePreprocess } from '@astrojs/svelte';
|
||||
@@ -26,7 +25,7 @@ export default defineConfig({
|
||||
plugins: [tailwindcss()]
|
||||
},
|
||||
|
||||
integrations: [icon(), svelte({ preprocess: vitePreprocess() })],
|
||||
integrations: [svelte({ preprocess: vitePreprocess() })],
|
||||
|
||||
env: {
|
||||
schema: {
|
||||
@@ -43,6 +42,9 @@ export default defineConfig({
|
||||
|
||||
WEBHOOK_ENDPOINT: envField.string({ context: 'server', access: 'secret', optional: true }),
|
||||
|
||||
STATISTICS_ENDPOINT: envField.string({ context: 'server', access: 'secret', optional: true }),
|
||||
STATISTICS_INTERVAL: envField.number({ context: 'server', access: 'secret', default: 60 * 30 }),
|
||||
|
||||
TEAMSPEAK_LINK: envField.string({ context: 'server', access: 'secret', default: 'http://example.com' }),
|
||||
DISCORD_LINK: envField.string({ context: 'server', access: 'secret', default: 'http://example.com' }),
|
||||
PAYPAL_LINK: envField.string({ context: 'server', access: 'secret', default: 'http://example.com' }),
|
||||
|
||||
Reference in New Issue
Block a user