v1.8.0 #429
@@ -596,6 +596,11 @@ export function Auth({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const checkServerConfig = async () => {
|
const checkServerConfig = async () => {
|
||||||
|
if (isInElectronWebView()) {
|
||||||
|
setShowServerConfig(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (isElectron()) {
|
if (isElectron()) {
|
||||||
try {
|
try {
|
||||||
const config = await getServerConfig();
|
const config = await getServerConfig();
|
||||||
|
|||||||
Reference in New Issue
Block a user