/
staticwebapp.config.json
77 lines (77 loc) · 1.73 KB
/
staticwebapp.config.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"routes": [
{
"route": "/posts",
"redirect": "/blog",
"statusCode": 301
},
{
"route": "/posts/*",
"redirect": "/blog",
"statusCode": 301
},
{
"route": "/blog/configuring-angular-oidc-client-with-the-new-functional-apis",
"redirect": "/blog/configuring-angular-auth-oidc-client-with-the-new-functional-apis",
"statusCode": 301
},
{
"route": "/blog/be-proactive-when-you-join-an-existing-angular-project",
"redirect": "/blog/be-proactive-when-you-join-an-angular-project",
"statusCode": 301
},
{
"route": "/blog/i-tried-the-angular-standalone-migration-and-here-is-the-results",
"redirect": "/blog/i-tried-the-angular-standalone-migration-and-here-is-the-result",
"statusCode": 301
},
{
"route": "/bits/http-file",
"redirect": "/bits/http-files",
"statusCode": 301
},
{
"route": "/newsletter",
"redirect": "https://tinyletter.com/timdeschryver",
"statusCode": 302
},
{
"route": "/twitter",
"redirect": "https://twitter.com/intent/follow?screen_name=tim_deschryver",
"statusCode": 302
},
{
"route": "/linkedin",
"redirect": "https://www.linkedin.com/in/tim-deschryver",
"statusCode": 302
},
{
"route": "/github",
"redirect": "http://github.com/timdeschryver",
"statusCode": 302
},
{
"route": "/support",
"redirect": "https://www.paypal.com/donate?hosted_button_id=59M5TFPQJS8SQ",
"statusCode": 302
},
{
"route": "/*.{js,css}",
"headers": {
"Cache-Control": "public, max-age=300, immutable"
}
},
{
"route": "/*.{png,jpg,gif,webp}",
"headers": {
"Cache-Control": "public, max-age=86400, immutable"
}
}
],
"responseOverrides": {
"404": {
"rewrite": "/404.html",
"statusCode": 404
}
}
}