-
Notifications
You must be signed in to change notification settings - Fork 4
/
firebase.json
42 lines (42 loc) · 942 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
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": {
"predeploy": [
"npm --prefix functions run build"
]
},
"hosting": {
"predeploy": ["npm --prefix ui run build:prod"],
"public": "ui/dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "/api/exchangeToken",
"function": "exchangeToken"
},
{
"source": "/api/getCurrentCampaignState",
"function": "getCurrentCampaignState"
},
{
"source": "/api/castVote",
"function": "castVote"
},
{
"source": "/api/castVoteFromEmail",
"function": "castVoteFromEmail"
},
{
"source": "/api/statsManager",
"function": "statsManager"
},
{
"source": "/api/getEmailStat",
"function": "getEmailStat"
}
]
}
}