You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default.env file says that you can prefix PUBLIC_STATS_PORT with 127.0.0.1: to disable access. While the stats can also be disabled through Settings > CRCON Settings > lock_stats_api, this is still useful if you want to disable the HTTP port while leaving the HTTPS port accessible.
The implementation of get_public_info does not account for the case where the variable is prefixed and will error when trying to convert it to an int. If the value cannot be converted to an int it should instead return None.
There might be other instances where this same issue can occur.
The text was updated successfully, but these errors were encountered:
The
default.env
file says that you can prefixPUBLIC_STATS_PORT
with127.0.0.1:
to disable access. While the stats can also be disabled through Settings > CRCON Settings >lock_stats_api
, this is still useful if you want to disable the HTTP port while leaving the HTTPS port accessible.The implementation of
get_public_info
does not account for the case where the variable is prefixed and will error when trying to convert it to an int. If the value cannot be converted to an int it should instead returnNone
.There might be other instances where this same issue can occur.
The text was updated successfully, but these errors were encountered: