mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix url
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
}
|
||||
|
||||
function getEndpointOrigin() {
|
||||
const url = URL.parse(VARS.APPWRITE_ENDPOINT);
|
||||
const url = new URL(VARS.APPWRITE_ENDPOINT);
|
||||
return url.origin;
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user