changed admin web_ip to StrOpt

The option was an IPOpt, which prevented the user
from setting the ip to a hostname
This commit is contained in:
Hemna 2024-04-08 11:04:23 -04:00
parent db2fbce079
commit 6845d266f2
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ admin_opts = [
default=False, default=False,
help="Enable the Admin Web Interface", help="Enable the Admin Web Interface",
), ),
cfg.IPOpt( cfg.StrOpt(
"web_ip", "web_ip",
default="0.0.0.0", default="0.0.0.0",
help="The ip address to listen on", help="The ip address to listen on",
@ -187,7 +187,7 @@ enabled_plugins_opts = [
] ]
webchat_opts = [ webchat_opts = [
cfg.IPOpt( cfg.StrOpt(
"web_ip", "web_ip",
default="0.0.0.0", default="0.0.0.0",
help="The ip address to listen on", help="The ip address to listen on",