mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-19 09:54:18 +02:00
[bugfix]: remove ignore CORS/SSL switches from web version (#305)
This commit is contained in:
@@ -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 New Issue
Block a user