Skip to content
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
2 changes: 1 addition & 1 deletion export_template/edit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Redirect to editable app</title>
<meta
http-equiv="refresh"
content="0;URL='../index.html?mode=editor-terminal-viewer'"
content="0;URL='../index.html?_shinylive-mode=editor-terminal-viewer'"
/>
</head>
<body></body>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ export async function runExportedApp({

// Get `appMode` from the URL query string
const urlParams = new URLSearchParams(window.location.search);
let appMode = urlParams.get("mode") ?? "viewer";
let appMode = urlParams.get("_shinylive-mode") ?? "viewer";

if (!AppModes.includes(appMode)) {
console.warn(`[shinylive] Unrecognized app mode: ${appMode}`);
Expand Down