diff --git a/src/sys/config.ts b/src/sys/config.ts index 39df4d9..5a7f7fe 100644 --- a/src/sys/config.ts +++ b/src/sys/config.ts @@ -49,7 +49,7 @@ export const generateTag = async () => { } catch (error) {} let serverHostPort = await outbagURLfromTag( oConf.get("System", "URL") + ":" + oConf.get("System", "PORTexposed")); - if(mainServerHost == null || mainServerHost != serverHostPort){ + if(mainServerHost == null || mainServerHost.tag != serverHostPort.tag){ selfTag = serverHostPort; }else selfTag = mainServerHost; return true;