Skip to content

Commit

Permalink
fix(client): changed the way the public url is built on the client to…
Browse files Browse the repository at this point in the history
… make it more flexible

re #13
  • Loading branch information
will-moss committed Dec 26, 2024
1 parent da8422c commit e48813e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<script>
window.PUBLIC_URL = "__PUBLIC_URL__";
window.PUBLIC_URL = window.location.origin;
window.USE_SECRET = __USE_SECRET__;
if (window.location.protocol === "https:")
window.PUBLIC_URL = window.PUBLIC_URL.replace("http:", "https:");
Expand Down

0 comments on commit e48813e

Please sign in to comment.