Explorar el Código

Only rebind web server on host/port changes

master
JustAnotherArchivist hace 2 años
padre
commit
69e9daddec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py Ver fichero

@@ -983,7 +983,7 @@ class WebServer:
map_['moduleargs'],
map_['overlongmode']
) for map_ in config['maps'].values()}
needRebind = self.config['web'] != config['web']
needRebind = (self.config['web']['host'], self.config['web']['port']) != (config['web']['host'], config['web']['port'])
self.config = config
if needRebind:
self._configChanged.set()


Cargando…
Cancelar
Guardar