|
4 | 4 | "buildCommand": "npm run build", |
5 | 5 | "outputDirectory": "dist", |
6 | 6 | "trailingSlash": true, |
7 | | - "git": { "deploymentEnabled": false }, |
8 | | - "redirects": [ |
9 | | - { |
10 | | - "source": "/:path*", |
11 | | - "has": [{ "type": "host", "value": "nav-router.dev" }], |
12 | | - "destination": "https://navrouter.dev/:path*", |
13 | | - "permanent": true |
14 | | - }, |
15 | | - { |
16 | | - "source": "/:path*", |
17 | | - "has": [{ "type": "host", "value": "www.nav-router.dev" }], |
18 | | - "destination": "https://navrouter.dev/:path*", |
19 | | - "permanent": true |
20 | | - }, |
21 | | - { |
22 | | - "source": "/:path*", |
23 | | - "has": [{ "type": "host", "value": "www.navrouter.dev" }], |
24 | | - "destination": "https://navrouter.dev/:path*", |
25 | | - "permanent": true |
26 | | - } |
27 | | - ], |
| 7 | + "git": { |
| 8 | + "deploymentEnabled": false |
| 9 | + }, |
28 | 10 | "headers": [ |
29 | 11 | { |
30 | 12 | "source": "/_astro/(.*)", |
31 | | - "headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }] |
| 13 | + "headers": [ |
| 14 | + { |
| 15 | + "key": "Cache-Control", |
| 16 | + "value": "public, max-age=31536000, immutable" |
| 17 | + } |
| 18 | + ] |
32 | 19 | }, |
33 | 20 | { |
34 | 21 | "source": "/og/(.*)", |
35 | | - "headers": [{ "key": "Cache-Control", "value": "public, max-age=86400" }] |
| 22 | + "headers": [ |
| 23 | + { |
| 24 | + "key": "Cache-Control", |
| 25 | + "value": "public, max-age=86400" |
| 26 | + } |
| 27 | + ] |
36 | 28 | }, |
37 | 29 | { |
38 | 30 | "source": "/pagefind/(.*)", |
39 | | - "headers": [{ "key": "Cache-Control", "value": "public, max-age=300, must-revalidate" }] |
| 31 | + "headers": [ |
| 32 | + { |
| 33 | + "key": "Cache-Control", |
| 34 | + "value": "public, max-age=300, must-revalidate" |
| 35 | + } |
| 36 | + ] |
40 | 37 | } |
41 | 38 | ] |
42 | 39 | } |
0 commit comments