forked from readium/readium-js-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.json
35 lines (35 loc) · 815 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
{
"hosting":
{
"firebase": "readium",
"public": "./dist/cloud-reader",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "epub_content/**",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, Content-Length, Accept-Ranges, Content-Range, Range, Link, Transfer-Encoding"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Content-Type, Content-Length, Accept-Ranges, Content-Range, Range, Link, Transfer-Encoding"
}
]
}
]
}
}