Page MenuHomePhorge

D9075.1765346425.diff
No OneTemporary

Size
602 B
Referenced Files
None
Subscribers
None

D9075.1765346425.diff

diff --git a/lib/facts/backup-service.js b/lib/facts/backup-service.js
--- a/lib/facts/backup-service.js
+++ b/lib/facts/backup-service.js
@@ -1,5 +1,7 @@
// @flow
+import { isDev } from '../utils/dev-utils.js';
+
type BackupServiceEndpointPath =
| '/backups'
| '/backups/:backupID/user_keys'
@@ -37,8 +39,11 @@
},
});
-const config = {
- url: 'http://localhost:50052',
+const config: {
+ url: string,
+ httpEndpoints: { +[endpoint: string]: BackupServiceHTTPEndpoint },
+} = {
+ url: isDev ? 'http://localhost:50052' : 'https://blob.commtechnologies.org',
httpEndpoints,
};

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 10, 6:00 AM (16 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5861629
Default Alt Text
D9075.1765346425.diff (602 B)

Event Timeline