-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirebase.json
More file actions
94 lines (92 loc) · 2.07 KB
/
firebase.json
File metadata and controls
94 lines (92 loc) · 2.07 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
{
"flutter": {
"platforms": {
"android": {
"default": {
"projectId": "animeishi-73560",
"appId": "1:430615036279:android:d4564b3b6e1e7d58942172",
"fileOutput": "android/app/google-services.json"
}
},
"dart": {
"lib/firebase_options.dart": {
"projectId": "animeishi-73560",
"configurations": {
"android": "1:430615036279:android:d4564b3b6e1e7d58942172",
"ios": "1:430615036279:ios:de88a8a99de6ef63942172",
"macos": "1:430615036279:ios:de88a8a99de6ef63942172",
"web": "1:430615036279:web:c124941e308d43d0942172",
"windows": "1:430615036279:web:2cc8b888a54a437f942172"
}
}
}
}
},
"hosting": {
"public": "build/web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"emulators": {
"auth": {
"port": 9099
},
"firestore": {
"port": 8080
},
"hosting": {
"host": "localhost",
"port": 5001
},
"ui": {
"enabled": true
},
"singleProjectMode": true
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"*.local"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
],
"storage": {
"rules": "storage.rules",
"cors": [
{
"origin": [
"https://animeishi-73560*.web.app",
"https://animeishi.uomi.site",
"https://animeishi-73560.firebaseapp.com",
"http://localhost:*",
"https://localhost:*"
],
"method": ["GET", "POST", "PUT", "DELETE"],
"maxAgeSeconds": 3600
}
]
}
}