mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Makes the URL actually accessible.
This commit is contained in:
parent
e063d82bfb
commit
92c8663010
1 changed files with 3 additions and 3 deletions
|
|
@ -388,8 +388,7 @@ if WEBSERVER_ENABLED:
|
|||
webclientstr = "webclient-websocket%s: %s" % (w_ifacestr, port)
|
||||
INFO_DICT["webclient"].append(webclientstr)
|
||||
|
||||
web_root = Website(web_root, logPath=settings.HTTP_LOG_FILE)
|
||||
web_root.is_portal = True
|
||||
|
||||
|
||||
if WEB_PLUGINS_MODULE:
|
||||
try:
|
||||
|
|
@ -399,7 +398,8 @@ if WEBSERVER_ENABLED:
|
|||
"WARNING: WEB_PLUGINS_MODULE is enabled but at_webproxy_root_creation() not found - "
|
||||
"copy 'evennia/game_template/server/conf/web_plugins.py to mygame/server/conf."
|
||||
)
|
||||
|
||||
web_root = Website(web_root, logPath=settings.HTTP_LOG_FILE)
|
||||
web_root.is_portal = True
|
||||
proxy_service = internet.TCPServer(proxyport, web_root, interface=interface)
|
||||
proxy_service.setName("EvenniaWebProxy%s:%s" % (ifacestr, proxyport))
|
||||
PORTAL.services.addService(proxy_service)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue