d0bc83ca27
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
15 lines
233 B
JSON
15 lines
233 B
JSON
{
|
|
"database": {
|
|
"rules": "database.rules.json"
|
|
},
|
|
"hosting": {
|
|
"public": "dist",
|
|
"rewrites": [
|
|
{
|
|
"source": "/:path*",
|
|
"destination": "/content/docs-prerendered/:path*.html"
|
|
}
|
|
]
|
|
}
|
|
}
|