Skip to content

Commit

Permalink
fix the bug that users can not create self hosted mock server (#8159)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoweiprc authored Nov 8, 2024
1 parent 3dfa31a commit 291f11d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/insomnia/src/ui/routes/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ export const createNewWorkspaceAction: ActionFunction = async ({
if (mockServerType === 'self-hosted') {
const mockServerUrl = formData.get('mockServerUrl');
invariant(typeof mockServerUrl === 'string', 'Mock Server URL is required');
mockServerPatch.useInsomniaCloud = false;
mockServerPatch.url = mockServerUrl;
}

Expand Down

0 comments on commit 291f11d

Please sign in to comment.