1
0
forked from Hay1tsme/artemis

fix proxy ports

This commit is contained in:
Hay1tsme 2024-01-22 16:21:49 -05:00
parent 200bfe7d84
commit 8864b2625d

View File

@ -81,7 +81,7 @@ class ServerConfig:
is_using_proxy is True and this value is non-zero is_using_proxy is True and this value is non-zero
""" """
return CoreConfig.get_config_field( return CoreConfig.get_config_field(
self.__config, "core", "title", "proxy_port", default=0 self.__config, "core", "server", "proxy_port", default=0
) )
@property @property
@ -91,7 +91,7 @@ class ServerConfig:
instead of 'port' if is_using_proxy is True and this value is non-zero instead of 'port' if is_using_proxy is True and this value is non-zero
""" """
return CoreConfig.get_config_field( return CoreConfig.get_config_field(
self.__config, "core", "title", "proxy_port_ssl", default=0 self.__config, "core", "server", "proxy_port_ssl", default=0
) )
@property @property