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
3612c6af
Commit
3612c6af
authored
May 11, 2022
by
Magix
Committed by
GitHub
May 11, 2022
Browse files
Merge pull request #826 from lilmayofuksu/patch-sslfix
Fix InRouting on dispatch server
parents
e3fd2eaa
3c0d8562
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
View file @
3612c6af
...
...
@@ -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