Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 1ce4fb0

Browse files
committed
chore(*): add redirects for docs
1 parent ca3e02a commit 1ce4fb0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: firebase.json

+13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
{
22
"hosting": {
33
"public": "build",
4+
"trailingSlash": false,
45
"ignore": [
56
"/scss/",
67
"/*.php",
78
"/propagateClusterUpdate.js"
9+
],
10+
"redirects": [
11+
{
12+
"source": "/docs/api",
13+
"destination": "https://docs.angularjs.org/api",
14+
"type": 301
15+
},
16+
{
17+
"source": "/@(docs|api)",
18+
"destination": "https://docs.angularjs.org/api",
19+
"type": 301
20+
}
821
]
922
}
1023
}

0 commit comments

Comments
 (0)