Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32440648
D9075.1765360272.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D9075.1765360272.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
Wed, Dec 10, 9:51 AM (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5856113
Default Alt Text
D9075.1765360272.diff (635 B)
Attached To
Mode
D9075: [client-backup] set backup-service prod URL
Attached
Detach File
Event Timeline
Log In to Comment