fix(docs-infra): temporary SW fix (for online mode) (#25692)
Due to unknown reasons, Firebase seems to return a 301 response for `/index.html`, but without a `Location` header. According to the spec, the browser will not follow the redirect, considering the response as failed, instead. This commit temporarily removes `index.html` from hashed resources and changes `index` to `/` in `ngsw-config.json`, until we figure out an appropriate long-term solution. PR Close #25692
This commit is contained in:
parent
0024d68add
commit
b069514818
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"index": "/index.html",
|
"index": "/",
|
||||||
"assetGroups": [
|
"assetGroups": [
|
||||||
{
|
{
|
||||||
"name": "app-shell",
|
"name": "app-shell",
|
||||||
|
@ -7,7 +7,6 @@
|
||||||
"updateMode": "prefetch",
|
"updateMode": "prefetch",
|
||||||
"resources": {
|
"resources": {
|
||||||
"files": [
|
"files": [
|
||||||
"/index.html",
|
|
||||||
"/pwa-manifest.json",
|
"/pwa-manifest.json",
|
||||||
"/app/search/search-worker.js",
|
"/app/search/search-worker.js",
|
||||||
"/assets/images/favicons/favicon.ico",
|
"/assets/images/favicons/favicon.ico",
|
||||||
|
|
Loading…
Reference in New Issue