-
Notifications
You must be signed in to change notification settings - Fork 186
/
firebase_from_divshot.json
45 lines (45 loc) · 1.08 KB
/
firebase_from_divshot.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
{
"firebase": "readium",
"public": "./dist/cloud-reader",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "epub_content/**",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET, HEAD, POST"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Range, Content-Type, Origin, X-Requested-With, Accept, Accept-Language, Content-Language"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Accept-Ranges, Content-Encoding, Content-Type, Content-Length, Content-Range, Content-Language, Cache-Control, Expires, Last-Modified, Pragma"
}
]
},
{
"source": "*.epub",
"headers": [
{
"key": "content-type",
"value": "application/epub+zip"
}
]
}
]
}