Skip to content

Commit

Permalink
[bugfix]: remove ignore CORS/SSL switches from web version (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 authored Oct 17, 2023
1 parent ac7ec13 commit f4f7328
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions src/renderer/features/servers/components/server-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,25 @@ export const ServerList = () => {
);
})}
</Accordion>
<Divider />
<Group>
<Switch
checked={ignoreCORS === 'true'}
label="Ignore CORS (requires restart)"
onChange={handleUpdateIgnoreCORS}
/>
</Group>
<Group>
<Switch
checked={ignoreSSL === 'true'}
label="Ignore SSL (requires restart)"
onChange={handleUpdateIgnoreSSL}
/>
</Group>
{isElectron() && (
<>
<Divider />
<Group>
<Switch
checked={ignoreCORS === 'true'}
label="Ignore CORS (requires restart)"
onChange={handleUpdateIgnoreCORS}
/>
</Group>
<Group>
<Switch
checked={ignoreSSL === 'true'}
label="Ignore SSL (requires restart)"
onChange={handleUpdateIgnoreSSL}
/>
</Group>
</>
)}
</Stack>
</>
);
Expand Down

1 comment on commit f4f7328

@vercel
Copy link

@vercel vercel bot commented on f4f7328 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin-jeffvli.vercel.app
feishin-git-development-jeffvli.vercel.app
feishin.vercel.app

Please sign in to comment.