Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
3c0d8562
Commit
3c0d8562
authored
May 11, 2022
by
ayy lmao
Browse files
Fix InRouting on dispatch server
parent
e3fd2eaa
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
View file @
3c0d8562
...
...
@@ -117,7 +117,7 @@ public final class DispatchServer {
.
setTitle
(
DISPATCH_INFO
.
defaultName
)
.
setType
(
"DEV_PUBLIC"
)
.
setDispatchUrl
(
"http"
+
(
DISPATCH_ENCRYPTION
.
use
Encryption
?
"s"
:
""
)
+
"://"
"http"
+
(
DISPATCH_ENCRYPTION
.
use
InRouting
?
"s"
:
""
)
+
"://"
+
lr
(
DISPATCH_INFO
.
accessAddress
,
DISPATCH_INFO
.
bindAddress
)
+
":"
+
lr
(
DISPATCH_INFO
.
accessPort
,
DISPATCH_INFO
.
bindPort
)
+
"/query_cur_region/"
+
defaultServerName
)
...
...
@@ -150,7 +150,7 @@ public final class DispatchServer {
.
setTitle
(
regionInfo
.
Title
)
.
setType
(
"DEV_PUBLIC"
)
.
setDispatchUrl
(
"http"
+
(
DISPATCH_ENCRYPTION
.
use
Encryption
?
"s"
:
""
)
+
"://"
"http"
+
(
DISPATCH_ENCRYPTION
.
use
InRouting
?
"s"
:
""
)
+
"://"
+
lr
(
DISPATCH_INFO
.
accessAddress
,
DISPATCH_INFO
.
bindAddress
)
+
":"
+
lr
(
DISPATCH_INFO
.
accessPort
,
DISPATCH_INFO
.
bindPort
)
+
"/query_cur_region/"
+
regionInfo
.
Name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment