From 55d0215d0296922e5c707ca28e0324406910876f Mon Sep 17 00:00:00 2001 From: jusax23 Date: Wed, 8 Mar 2023 10:37:19 +0100 Subject: [PATCH] tag comp bug --- src/sys/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;