Make Apache config optional and add more links to index
This commit is contained in:
parent
403ae18b6e
commit
e84900a652
16 changed files with 280 additions and 82 deletions
|
|
@ -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 }),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue