build(aio): use http push for navigation.json
This commit is contained in:
parent
441e01c568
commit
fc86352adf
|
@ -44,6 +44,17 @@
|
||||||
"source": "**/!(*.*)",
|
"source": "**/!(*.*)",
|
||||||
"destination": "/index.html"
|
"destination": "/index.html"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"source": "/",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Link",
|
||||||
|
"value": "</generated/navigation.json>;rel=preload;as=fetch,</generated/docs/index.json>;rel=preload;as=fetch"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue