fix: Linux app image and server conifg issue

This commit is contained in:
LukeGus
2025-11-02 23:41:56 -06:00
parent 1f89c7a9ae
commit 0b214fbf11
2 changed files with 22 additions and 4 deletions

View File

@@ -617,7 +617,7 @@ export function Auth({
checkServerConfig();
}, []);
if (showServerConfig === null) {
if (showServerConfig === null && !isInElectronWebView()) {
return (
<div
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}
@@ -631,7 +631,7 @@ export function Auth({
);
}
if (showServerConfig) {
if (showServerConfig && !isInElectronWebView()) {
return (
<div
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}