Page MenuHomePhabricator

D9075.id30759.diff
No OneTemporary

D9075.id30759.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,13 @@
},
});
-const config = {
- url: 'http://localhost:50052',
+const config: {
+ url: string,
+ httpEndpoints: { +[endpoint: string]: BackupServiceHTTPEndpoint },
+} = {
+ url: isDev
+ ? 'https://backup.staging.commtechnologies.org'
+ : 'https://backup.commtechnologies.org',
httpEndpoints,
};

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 9:34 AM (16 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699450
Default Alt Text
D9075.id30759.diff (635 B)

Event Timeline