Forcibly reload app from server when API is redirected #9156
Annotations
1 error and 9 warnings
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L1
Replace `"../connection"` with `'../connection';`
|
|
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L7
Replace `····` with `··`
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L9
Replace `····const·originalHost·=·new·URL(input·instanceof·Request·?·input.url·:·input).host` with `··const·originalHost·=·new·URL(input·instanceof·Request·?·input.url·:·input)⏎····.host;`
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L11
Replace `··if·(response.redirected·&&·(new·URL(response.url))` with `if·(response.redirected·&&·new·URL(response.url)`
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L12
Replace `········connection.send("api-fetch-redirected")` with `····connection.send('api-fetch-redirected');`
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L13
Replace `····` with `··`
|
packages/loot-core/src/platform/server/fetch/index.web.ts#L15
Replace `····return·response` with `··return·response;`
|
This job failed
Loading