Skip to content

Commit

Permalink
pyodide_loader: fix baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Nov 24, 2024
1 parent 1025cb3 commit f0c05a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/pyodide_web_demo/js/pyodide_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function loadPyodideAndPackages() {
pyodide._api._skip_unwind_fatal_error = true;

// Determine the base URL dynamically
const baseUrl = window.location.origin;
const baseUrl = `${window.location.origin}${window.location.pathname}`;
console.log('Base URL:', baseUrl);

// List of packages to install
Expand Down

0 comments on commit f0c05a7

Please sign in to comment.