-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase.json
47 lines (47 loc) · 987 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
39
40
41
42
43
44
45
46
47
{
"hosting": {
"headers": [
{
"source": "/",
"headers": [
{
"key": "Link",
"value": "</style.css>;rel=preload;as=style,</all-plugins.min.css>;rel=preload;as=style,</js/all-plugins.min.js>;rel=preload;as=script,</js/main.min.js>;rel=preload;as=script"
}
]
},
{
"source": "**/*.@(js|jpg|jpeg|gif|png)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=691200"
}
]
},
{
"source": "404.html",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=300"
}
]
}
],
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/sendMail",
"function": "sendMail"
}
],
"cleanUrls": true,
"trailingSlash": false
}
}