Make Apache config optional and add more links to index

This commit is contained in:
Bad Manners 2024-08-16 16:21:22 -03:00
parent 403ae18b6e
commit e84900a652
16 changed files with 280 additions and 82 deletions

View file

@ -1,4 +1,4 @@
import { defineConfig } from "astro/config";
import { defineConfig, envField } from "astro/config";
import tailwindIntegration from "@astrojs/tailwind";
// https://astro.build/config
@ -16,4 +16,11 @@ export default defineConfig({
redirects: {
"/tos": "/terms_of_service",
},
experimental: {
env: {
schema: {
APACHE_CONFIG: envField.boolean({ context: "server", access: "public", default: false }),
},
},
},
});