Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3523528
D9075.id30759.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
635 B
Referenced Files
None
Subscribers
None
D9075.id30759.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9075: [client-backup] set backup-service prod URL
Attached
Detach File
Event Timeline
Log In to Comment