mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The current implementation is based on @igorminar's [angular-io-v42][1]. It is using Protractor to request all docs URLs, let them fallback to `/index.html` and save the rendered page. [1]: https://github.com/IgorMinar/angular-io-v42/tree/05508ab3/tools/prerenderer Fixes #15104
14 lines
233 B
JSON
14 lines
233 B
JSON
{
|
|
"database": {
|
|
"rules": "database.rules.json"
|
|
},
|
|
"hosting": {
|
|
"public": "dist",
|
|
"rewrites": [
|
|
{
|
|
"source": "/:path*",
|
|
"destination": "/content/docs-prerendered/:path*.html"
|
|
}
|
|
]
|
|
}
|
|
}
|