소스 검색

Only rebind web server on host/port changes

master
JustAnotherArchivist 2 년 전
부모
커밋
69e9daddec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py 파일 보기

@@ -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()


불러오는 중...
취소
저장