Skip to content

Commit d6c91cd

Browse files
authored
Use production help URL in development environment (#3410)
1 parent 04cda2e commit d6c91cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SIL.XForge.Scripture/ClientApp/src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const environment = {
1616
scope: 'sf_data',
1717
siteId: 'sf',
1818
assets: '/assets/',
19-
helps: 'https://github-action-preview--scriptureforgehelp.netlify.app',
19+
helps: 'https://help.scriptureforge.org',
2020
bugsnagApiKey: 'b72a46a8924a3cd161d4c5534287923c',
2121
realtimePort: 5003,
2222
realtimeSecurePort: 5005,

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ function stubbedI18nService(helpUrlPortion: string): any {
77
describe('ExternalUrlService', () => {
88
it('should provide the help URL for English', () => {
99
const service = new ExternalUrlService(stubbedI18nService(''));
10-
expect(service.helps).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app');
10+
expect(service.helps).toEqual('https://help.scriptureforge.org');
1111
});
1212

1313
it('should provide the localized help URL', () => {
1414
const service = new ExternalUrlService(stubbedI18nService('es'));
15-
expect(service.helps).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app/es');
15+
expect(service.helps).toEqual('https://help.scriptureforge.org/es');
1616
});
1717
});

0 commit comments

Comments
 (0)