Skip to content

Commit

Permalink
fix: resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKarpiuk authored and RomanHotsiy committed Jan 19, 2024
1 parent 2011f40 commit 36c082e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/cms/__tests__/domains.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ describe('getDomain()', () => {
it('should return the default domain if no domain provided', () => {
process.env.REDOCLY_DOMAIN = '';

expect(getDomain()).toBe('https://app.beta.redocly.com');
expect(getDomain()).toBe('https://app.cloud.redocly.com');
});
});
2 changes: 1 addition & 1 deletion packages/cli/src/cms/domains.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const DEFAULT_DOMAIN = 'https://app.beta.redocly.com';
const DEFAULT_DOMAIN = 'https://app.cloud.redocly.com';

export function getDomain(): string {
const domain = process.env.REDOCLY_DOMAIN;
Expand Down
5 changes: 5 additions & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,11 @@ yargs
description: 'Project directory.',
default: '.',
},
config: {
description: 'Path to the config file.',
requiresArg: true,
type: 'string',
},
}),
(argv) => {
commandWrapper(previewProject)(argv);
Expand Down

0 comments on commit 36c082e

Please sign in to comment.