mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 07:38: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">
|
<script type="text/javascript">
|
||||||
window.CELLXGENE = {};
|
window.CELLXGENE = {};
|
||||||
window.CELLXGENE.API = {
|
window.CELLXGENE.API = {
|
||||||
prefix: window.location.href + "api/",
|
prefix: `${location.origin}${location.pathname}api/`,
|
||||||
version: "v0.2/",
|
version: "v0.2/",
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user