Skip to content

Commit

Permalink
Fix sharing button for deployments from non-root situations
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and Mytherin committed Jan 29, 2024
1 parent b07d981 commit 06723f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/duckdb-wasm-shell/src/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ShellRuntime {
window.location.hash = "savequeries&" + this.hash;
const a = document.getElementById("hashencoded");
if (a && a instanceof HTMLAnchorElement)
a.href= "/#" + this.hash;
a.href= window.location.pathname + "/#" + this.hash;
this.history.push(value);
}
}
Expand Down

0 comments on commit 06723f9

Please sign in to comment.