mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: set project endpoint based on the region
This commit is contained in:
@@ -14,6 +14,7 @@ export const ssr = false;
|
||||
|
||||
export const load: LayoutLoad = async ({ depends, url, route }) => {
|
||||
depends(Dependencies.ACCOUNT);
|
||||
|
||||
console.log(getApiEndpoint());
|
||||
sdk.forProject.client.setEndpoint(getApiEndpoint());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user