disable cache on replay web page (#419)

This commit is contained in:
sua yoo 2022-12-21 10:48:37 -08:00 committed by GitHub
parent dfca09fc9c
commit 3b1db019c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -595,6 +595,7 @@ export class CrawlDetail extends LiteElement {
coll="${ifDefined(this.crawl?.id)}"
replayBase="/replay/"
noSandbox="true"
noCache="true"
></replay-web-page>
</div>`
: html`
@ -881,7 +882,9 @@ export class CrawlDetail extends LiteElement {
private async getCrawl(): Promise<Crawl> {
const data: Crawl = await this.apiFetch(
`${this.crawlsAPIBaseUrl || this.crawlsBaseUrl}/${this.crawlId}/replay.json`,
`${this.crawlsAPIBaseUrl || this.crawlsBaseUrl}/${
this.crawlId
}/replay.json`,
this.authState!
);