Skip to content

Commit

Permalink
Merge pull request #272 from jovotech/v4/fix/webhook
Browse files Browse the repository at this point in the history
🚑 Adjust webhook
  • Loading branch information
rubenaeg authored Dec 7, 2021
2 parents 05e66db + 52c9dd1 commit 1887919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { get } from 'node-emoji';
import chalk from 'chalk';

export const DEFAULT_LOCALE = 'en';
export const JOVO_WEBHOOK_URL = 'https://webhookv4.jovo.cloud';
export const ENDPOINTS: string[] = ['jovo-webhook', 'ngrok', 'none'];
export const JOVO_WEBHOOK_URL = 'https://webhook.jovo.cloud';
export const REPO_URL = 'https://www.jovo.tech/repo/sample-apps';
export const SUPPORTED_LANGUAGES = ['typescript', 'javascript'] as const;

Expand Down
2 changes: 1 addition & 1 deletion core/test/JovoCli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('getJovoWebhookUrl()', () => {

const jovo: JovoCli = new JovoCli();

expect(jovo.getJovoWebhookUrl()).toMatch('https://webhookv4.jovo.cloud/1234');
expect(jovo.getJovoWebhookUrl()).toMatch('https://webhook.jovo.cloud/1234');

mockedWebhook.mockRestore();
});
Expand Down

0 comments on commit 1887919

Please sign in to comment.