mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 07:58:11 +08:00
Swap using href to using origin+pathname to avoid errors with including any query parameters from being passed in. (#1722)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<script type="text/javascript">
|
||||
window.CELLXGENE = {};
|
||||
window.CELLXGENE.API = {
|
||||
prefix: window.location.href + "api/",
|
||||
prefix: `${location.origin}${location.pathname}api/`,
|
||||
version: "v0.2/",
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user