-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.json
More file actions
101 lines (101 loc) · 2.3 KB
/
firebase.json
File metadata and controls
101 lines (101 loc) · 2.3 KB
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
{
"functions": {
"predeploy": ["cd functions; npm run build"],
"source": "functions"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"storage": {
"rules": "storage.rules"
},
"emulators": {
"firestore": {
"port": 8080
},
"ui": {
"enabled": true,
"host": "localhost",
"port": 4000
},
"functions": {
"port": 5003
},
"pubsub": {
"port": 8085
},
"hosting": {
"port": 5001
},
"storage": {
"port": 9199
},
"auth": {
"port": 8086
}
},
"hosting": {
"public": "hosting/public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"appAssociation": "AUTO",
"rewrites": [
{
"source": "/**",
"dynamicLinks": true
}
],
"redirects": [
{
"source": "/",
"destination": "https://common.io/",
"type": 302
},
{
"source": "/user/**",
"destination": "https://common.io/",
"type": 302
},
{
"source": "/support/:commonId",
"destination": "https://common.io/commons/:commonId/support",
"type": 302
},
{
"source": "/common/:commonId",
"destination": "https://common.io/commons/:commonId",
"type": 302
},
{
"source": "/proposal/:proposalId",
"destination": "https://common.io/proposals/:proposalId",
"type": 302
},
{
"source": "/proposalComment/:proposalCommentId",
"destination": "https://common.io/proposal-comments/:proposalCommentId",
"type": 302
},
{
"source": "/discussion/:discussionId",
"destination": "https://common.io/discussions/:discussionId",
"type": 302
},
{
"source": "/discussionMessage/:discussionMessageId",
"destination": "https://common.io/discussion-messages/:discussionMessageId",
"type": 302
},
{
"source": "/invoices/submission/:proposalId",
"destination": "https://web.common.io/invoices/submission/:proposalId",
"type": 301
},
{
"source": "/support/:commonId",
"destination": "https://common.io/commons/:commonId/support",
"type": 302
}
]
}
}