2017-01-27 03:20:51 -05:00
|
|
|
{
|
|
|
|
"database": {
|
|
|
|
"rules": "database.rules.json"
|
|
|
|
},
|
|
|
|
"hosting": {
|
|
|
|
"public": "dist",
|
2017-03-21 09:46:20 -04:00
|
|
|
"cleanUrls": true,
|
2017-04-19 11:32:55 -04:00
|
|
|
"redirects": [
|
|
|
|
// cli-quickstart.html glossary.html, quickstart.html
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cli-quickstart.html", "destination": "/guide/cli-quickstart"},
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/glossary.html", "destination": "/guide/glossary"},
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/quickstart.html", "destination": "/guide/quickstart"},
|
|
|
|
|
|
|
|
// cookbook, cookbook/, cookbook/index.html
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cookbook", "destination": "/guide/cb-index"},
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cookbook/", "destination": "/guide/cb-index"},
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cookbook/index.html", "destination": "/guide/cb-index"},
|
|
|
|
|
|
|
|
// cookbook/dependency-injection.html
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cookbook/dependency-injection.html", "destination": "/guide/cb-dependency-injection"},
|
|
|
|
|
|
|
|
// cookbook/*.html
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/cookbook/:cookbook.html", "destination": "/guide/:cookbook"},
|
|
|
|
|
|
|
|
// docs/ts/latest/api/*/index/*-type.html
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/api/:package/index/:api-type.html", "destination": "/api/:package/:api"},
|
|
|
|
|
|
|
|
// guide/*, tutorial/*, **/*
|
|
|
|
{"type": 301, "source": "/docs/ts/latest/:any*", "destination": "/:any*"}
|
|
|
|
],
|
2017-03-13 12:35:16 -04:00
|
|
|
"rewrites": [
|
|
|
|
{
|
2017-03-22 18:31:47 -04:00
|
|
|
"source": "**/!(*.*)",
|
2017-03-21 09:46:20 -04:00
|
|
|
"destination": "/index.html"
|
2017-03-13 12:35:16 -04:00
|
|
|
}
|
|
|
|
]
|
2017-01-27 03:20:51 -05:00
|
|
|
}
|
|
|
|
}
|