-
Notifications
You must be signed in to change notification settings - Fork 36
/
astro.config.mjs
56 lines (54 loc) · 1.31 KB
/
astro.config.mjs
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// @ts-check
import { defineConfig } from "astro/config";
import vercel from "@astrojs/vercel/serverless";
// https://astro.build/config
export default defineConfig({
site: "https://iammatthias.com",
output: "static",
adapter: vercel(),
prefetch: {
prefetchAll: true,
},
redirects: {
"/post/1563778800000": {
status: 302,
destination: "/notes/1563778800000-flatframe",
},
"/post/1587970800000": {
status: 302,
destination: "/notes/1587970800000-sourdough",
},
"/post/1687071600000": {
status: 302,
destination: "/notes/1687071600000-feels-like-summer",
},
"/post/1681369200000": {
status: 302,
destination: "/posts/1681369200000-ai-legion-on-bluesky",
},
"/post/1670659200001": {
status: 302,
destination: "/posts/1670659200001-obsidian-as-a-cms",
},
"/post/1691436904927": {
status: 302,
destination: "/posts/1691436904927-deploy-html-on-replit",
},
"/post/1699332127006": {
status: 302,
destination: "/posts/1699332127006-revisiting-obsidian-as-a-cms",
},
"/post/*": {
status: 302,
destination: "/posts",
},
"/content/*": {
status: 302,
destination: "/posts",
},
"/md/*": {
status: 302,
destination: "/posts",
},
},
});