fix: Server config showing in web view
This commit is contained in:
1 parent
7de387b987
commit
1fea3568b1
1 file changed
+5
@@ -596,6 +596,11 @@ export function Auth({
|
||||
|
||||
useEffect(() => {
|
||||
const checkServerConfig = async () => {
|
||||
if (isInElectronWebView()) {
|
||||
setShowServerConfig(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isElectron()) {
|
||||
try {
|
||||
const config = await getServerConfig();
|
||||
|
||||
Reference in new issue
Block a user