tag comp bug

This commit is contained in:
jusax23 2023-03-08 10:37:19 +01:00
parent 1b1035bde6
commit 55d0215d02
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -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;