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
e29c2dc1
Commit
e29c2dc1
authored
May 06, 2022
by
Magix
Committed by
GitHub
May 06, 2022
Browse files
Merge branch 'stable' into development
parents
1ed0511c
6b81b888
Changes
2
Show whitespace changes
Inline
Side-by-side
proxy_config.py
View file @
e29c2dc1
import
os
# This can also be replaced with another IP address.
# This can also be replaced with another IP address.
USE_SSL
=
True
USE_SSL
=
True
REMOTE_HOST
=
"
127.0.0.1
"
REMOTE_HOST
=
"
localhost
"
REMOTE_PORT
=
443
REMOTE_PORT
=
443
if
os
.
getenv
(
'MITM_REMOTE_HOST'
)
!=
None
:
REMOTE_HOST
=
os
.
getenv
(
'MITM_REMOTE_HOST'
)
if
os
.
getenv
(
'MITM_REMOTE_PORT'
)
!=
None
:
REMOTE_PORT
=
int
(
os
.
getenv
(
'MITM_REMOTE_PORT'
))
if
os
.
getenv
(
'MITM_USE_SSL'
)
!=
None
:
USE_SSL
=
bool
(
os
.
getenv
(
'MITM_USE_SSL'
))
print
(
'MITM Remote Host: '
+
REMOTE_HOST
)
print
(
'MITM Remote Port: '
+
str
(
REMOTE_PORT
))
print
(
'MITM Use SSL '
+
str
(
USE_SSL
))
src/main/java/emu/grasscutter/Grasscutter.java
View file @
e29c2dc1
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