Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure default index.html is served for app, #253

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 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

Expand Down
2 changes: 1 addition & 1 deletion _data/package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
4 changes: 3 additions & 1 deletion src/appmain.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ 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;
Expand Down
552 changes: 276 additions & 276 deletions ui.js

Large diffs are not rendered by default.

Loading