-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathastro.config.ts
More file actions
36 lines (35 loc) · 1003 Bytes
/
astro.config.ts
File metadata and controls
36 lines (35 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import vercel from "@astrojs/vercel";
import { konamiEmojiBlast } from "@konami-emoji-blast/astro";
import { defineConfig, envField } from "astro/config";
export default defineConfig({
adapter: vercel({
webAnalytics: { enabled: true },
}),
env: {
schema: {
BREVO_API_KEY: envField.string({ access: "secret", context: "server" }),
BREVO_LIST_ID: envField.number({ access: "public", context: "server" }),
},
},
image: {
layout: "constrained",
responsiveStyles: true,
},
integrations: [konamiEmojiBlast()],
output: "server",
redirects: {
"/2024/about": "/about",
"/2024/code-of-conduct": "/code-of-conduct",
"/2024/faqs": "/faqs",
"/2024/travel": "/travel",
"/2025": "/",
"/faqs": "/articles/faqs",
"/how-to-attend-squiggleconf-for-free":
"/articles/how-to-attend-squiggleconf-for-free",
"/schedule": "/2025/schedule",
"/sessions": "/2025/sessions",
"/speakers": "/2025/speakers",
"/travel": "/articles/travel",
},
site: "https://squiggleconf.com",
});