We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5721fe2 commit e0d56e5Copy full SHA for e0d56e5
1 file changed
src/utils/constant.ts
@@ -9,7 +9,7 @@ export const anytypeNetwork = "N83gJpVd9MuNRZAuJLZ7LiMntTThhPc6DtzWWVjb1M3PouVU"
9
export const errorConnectionMessage = "Can't connect to API. Please ensure Anytype is running and reachable.";
10
11
// URLs
12
-export const apiUrl = getPreferenceValues().apiUrl;
+export const apiUrl = getPreferenceValues().apiUrl || "http://127.0.0.1:31009";
13
export const downloadUrl = "https://download.anytype.io/";
14
export const anytypeSpaceDeeplink = (spaceId: string) => `anytype://main/object/_blank_/space.id/${spaceId}`;
15
0 commit comments