-
Notifications
You must be signed in to change notification settings - Fork 2
/
firebase.json
105 lines (105 loc) · 2.57 KB
/
firebase.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"hosting": [
{
"target": "dev",
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"cleanUrls": true
},
{
"target": "next",
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"cleanUrls": true
},
{
"target": "prod",
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"cleanUrls": true,
"redirects": [
{
"source": "/articles/:slug*",
"destination": "/artikler/:slug",
"type": 301
},
{
"source": "/events/:slug*",
"destination": "/arrangementer/:slug",
"type": 301
},
{
"source": "/work/:slug*",
"destination": "/arbeid/:slug",
"type": 301
},
{
"source": "/privacy",
"destination": "/personvern",
"type": 301
},
{
"source": "/terms",
"destination": "/vilkar",
"type": 301
},
{
"source": "/about/billing",
"destination": "/billing",
"type": 301
},
{
"source": "/contact",
"destination": "/kontakt",
"type": 301
},
{
"source": "/about",
"destination": "/om",
"type": 301
},
{
"source": "/ai",
"destination": "https://chat.openai.com/g/g-aJI0fiUjD-bjerkie",
"type": 301
}
],
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Content-Security-Policy",
"value": "script-src 'self' https://gc.zgo.at https://cdnjs.cloudflare.com 'unsafe-eval'; connect-src https://bjerk.goatcounter.com/count"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Permissions-Policy",
"value": "geolocation=(), camera=()"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png|svg|js|css|woff|woff2|ttf|webp|avif)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
}
]
}
]
}