forked from home-assistant/mobile-apps-fcm-push
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.json
More file actions
39 lines (39 loc) · 765 Bytes
/
firebase.json
File metadata and controls
39 lines (39 loc) · 765 Bytes
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
{
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
],
"source": "functions"
},
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/api/sendPushNotification",
"function": "sendPushNotification"
},
{
"source": "/api/sendPush/android/v1",
"function": "androidV1"
},
{
"source": "/api/sendPush/iOS/v1",
"function": "iOSV1"
},
{
"source": "/api/checkRateLimits",
"function": "checkRateLimits"
},
{
"source": "**",
"destination": "/index.html",
"type": 301
}
]
}
}