-
Notifications
You must be signed in to change notification settings - Fork 1
/
firebase.json
38 lines (38 loc) · 960 Bytes
/
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
{
"hosting": {
"site": "unicode-code-point-lookup",
"public": "browser",
"cleanUrls": true,
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**/!(*.@(js|html|css|json|svg|png|gif|jpg|jpeg|webp|eot|otf|ttf|ttc|woff|woff2|xml|txt|ico))",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/*.@(gif|jpg|jpeg|png|svg|webp|eot|otf|ttf|ttc|woff|woff2)",
"headers": [
{"key": "Cache-Control", "value": "max-age=86400"}
]
},
{
"source": "**/assets/images/appicons/v+([0-9])/logo.png",
"headers": [
{"key": "Cache-Control", "value": "max-age=2592000"}
]
},
{
"source": "**/*.+([0-9a-f]).@(css|js|eot|ttf|woff|woff2)",
"headers": [
{"key": "Cache-Control", "value": "max-age=2592000"}
]
}
]
}
}