mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix url
This commit is contained in:
1 parent
77f5ba5293
commit
220550f401
1 file changed
+1
-1
@@ -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