forked from Laboratoria/curriculum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase.json
44 lines (44 loc) · 1.03 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
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"redirects": [
{
"regex": "/(es|pt)/topics/([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)",
"destination": "/:1/topics/:2/:3/:4/:5",
"type": 301
},
{
"regex": "/(es|pt)/topics/([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)",
"destination": "/:1/topics/:2/:3/:4",
"type": 301
},
{
"regex": "/(es|pt)/topics/([a-z0-9\\-]+)/\\d{2}-([a-z0-9\\-]+)",
"destination": "/:1/topics/:2/:3",
"type": 301
},
{
"regex": "/(es|pt)/js/(topics|gym)",
"destination": "/:1/web-dev/:2",
"type": 301
},
{
"regex": "/(es|pt)/js",
"destination": "/:1/web-dev",
"type": 301
}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"trailingSlash": false
}
}