mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 20:34:49 +00:00
Fix InRouting on dispatch server
This commit is contained in:
parent
98066f5015
commit
3f1128356e
@ -117,7 +117,7 @@ public final class DispatchServer {
|
|||||||
.setTitle(DISPATCH_INFO.defaultName)
|
.setTitle(DISPATCH_INFO.defaultName)
|
||||||
.setType("DEV_PUBLIC")
|
.setType("DEV_PUBLIC")
|
||||||
.setDispatchUrl(
|
.setDispatchUrl(
|
||||||
"http" + (DISPATCH_ENCRYPTION.useEncryption ? "s" : "") + "://"
|
"http" + (DISPATCH_ENCRYPTION.useInRouting ? "s" : "") + "://"
|
||||||
+ lr(DISPATCH_INFO.accessAddress, DISPATCH_INFO.bindAddress) + ":"
|
+ lr(DISPATCH_INFO.accessAddress, DISPATCH_INFO.bindAddress) + ":"
|
||||||
+ lr(DISPATCH_INFO.accessPort, DISPATCH_INFO.bindPort)
|
+ lr(DISPATCH_INFO.accessPort, DISPATCH_INFO.bindPort)
|
||||||
+ "/query_cur_region/" + defaultServerName)
|
+ "/query_cur_region/" + defaultServerName)
|
||||||
@ -150,7 +150,7 @@ public final class DispatchServer {
|
|||||||
.setTitle(regionInfo.Title)
|
.setTitle(regionInfo.Title)
|
||||||
.setType("DEV_PUBLIC")
|
.setType("DEV_PUBLIC")
|
||||||
.setDispatchUrl(
|
.setDispatchUrl(
|
||||||
"http" + (DISPATCH_ENCRYPTION.useEncryption ? "s" : "") + "://"
|
"http" + (DISPATCH_ENCRYPTION.useInRouting ? "s" : "") + "://"
|
||||||
+ lr(DISPATCH_INFO.accessAddress, DISPATCH_INFO.bindAddress) + ":"
|
+ lr(DISPATCH_INFO.accessAddress, DISPATCH_INFO.bindAddress) + ":"
|
||||||
+ lr(DISPATCH_INFO.accessPort, DISPATCH_INFO.bindPort)
|
+ lr(DISPATCH_INFO.accessPort, DISPATCH_INFO.bindPort)
|
||||||
+ "/query_cur_region/" + regionInfo.Name)
|
+ "/query_cur_region/" + regionInfo.Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user