[bugfix]: remove ignore CORS/SSL switches from web version (#305)
This commit is contained in:
parent
ac7ec133db
commit
f4f73289c9
1 changed files with 19 additions and 15 deletions
|
@ -98,21 +98,25 @@ export const ServerList = () => {
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</Accordion>
|
</Accordion>
|
||||||
<Divider />
|
{isElectron() && (
|
||||||
<Group>
|
<>
|
||||||
<Switch
|
<Divider />
|
||||||
checked={ignoreCORS === 'true'}
|
<Group>
|
||||||
label="Ignore CORS (requires restart)"
|
<Switch
|
||||||
onChange={handleUpdateIgnoreCORS}
|
checked={ignoreCORS === 'true'}
|
||||||
/>
|
label="Ignore CORS (requires restart)"
|
||||||
</Group>
|
onChange={handleUpdateIgnoreCORS}
|
||||||
<Group>
|
/>
|
||||||
<Switch
|
</Group>
|
||||||
checked={ignoreSSL === 'true'}
|
<Group>
|
||||||
label="Ignore SSL (requires restart)"
|
<Switch
|
||||||
onChange={handleUpdateIgnoreSSL}
|
checked={ignoreSSL === 'true'}
|
||||||
/>
|
label="Ignore SSL (requires restart)"
|
||||||
</Group>
|
onChange={handleUpdateIgnoreSSL}
|
||||||
|
/>
|
||||||
|
</Group>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue