-
Notifications
You must be signed in to change notification settings - Fork 7
/
firebase.json
82 lines (82 loc) · 2.5 KB
/
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
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
{
"hosting": [
{
"target": "ankigpt-app",
"public": "build/web",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"redirects": [
{
"source": "/privacy-policy",
"destination": "https://firebasestorage.googleapis.com/v0/b/storage.ankigpt.wtf/o/assets%2Fprivacy_policy_en.pdf?alt=media&token=f20b646d-f7fe-41fa-96d5-98b641cc7b56",
"type": 302
},
{
"source": "/terms",
"destination": "https://firebasestorage.googleapis.com/v0/b/storage.ankigpt.wtf/o/assets%2Fterms_of_service_en.pdf?alt=media&token=ba86f8f4-9427-41b1-89dc-4a7bbdb1a65a",
"type": 302
},
{
"source": "/terms-of-service",
"destination": "https://firebasestorage.googleapis.com/v0/b/storage.ankigpt.wtf/o/assets%2Fterms_of_service_en.pdf?alt=media&token=ba86f8f4-9427-41b1-89dc-4a7bbdb1a65a",
"type": 302
},
{
"source": "/support",
"destination": "https://wa.me/4915229504121",
"type": 302
},
{
"source": "/whatsapp-newsletter",
"destination": "https://wa.me/4915229504121?text=Hey%21%0A%0AI%20would%20like%20to%20sign%20up%20for%20the%20AnkiGPT%20newsletter%20to%20stay%20informed%20about%20new%20updates%20%3A%29%0AI%27m%20aware%20that%20I%20can%20stop%20receiving%20the%20newsletter%20by%20sending%20the%20message%20%22STOP%22.%0A%0ABest%20regards%2C",
"type": 302
}
]
},
{
"target": "ankigpt-api",
"rewrites": [
{
"source": "/v1/pdf-reader",
"run": {
"serviceId": "pdf-reader",
"region": "europe-west1"
}
},
{
"source": "/v1/tokenizer/**",
"run": {
"serviceId": "tokenizer",
"region": "europe-west1"
}
},
{
"source": "/v1/importCardsFromGpt",
"run": {
"serviceId": "importcardsfromgpt",
"region": "europe-west1"
}
},
{
"source": "/v1/unsubscribe-emails",
"run": {
"serviceId": "unsubscribeemails",
"region": "europe-west1"
}
},
{
"source": "**",
"run": {
"serviceId": "routehttp",
"region": "europe-west1"
}
}
]
}
]
}