diff --git a/CHANGES.md b/CHANGES.md index d78ae7d5..c9351a68 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,9 @@ ## CHANGES +v1.8.13 +- Loading: Ensure default index.html is served when not in embed mode, don't add '?serveIndex=1' for app itself + v1.8.12 - Loading: Fixes embed 'Purge Cache + Reload', ensure '?serveIndex=1' is always set on all service worker loading diff --git a/package.json b/package.json index 70416159..85a824f3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "replaywebpage", "productName": "ReplayWeb.page", - "version": "1.8.12", + "version": "1.8.13", "description": "Serverless Web Archive Replay", "repository": "https://github.com/webrecorder/replayweb.page", "homepage": "https://replayweb.page/", diff --git a/src/appmain.ts b/src/appmain.ts index d8a6ba44..7c88e7d5 100644 --- a/src/appmain.ts +++ b/src/appmain.ts @@ -447,7 +447,9 @@ export class ReplayWebApp extends LitElement { if (this.useRuffle) { qp.set("injectScripts", "ruffle/ruffle.js"); } - qp.set("serveIndex", "1"); + if (this.embed) { + qp.set("serveIndex", "1"); + } query = qp.toString(); if (query.length) { name += "?" + query;