소스 검색

add port, host info to webdav command

Guénaël Muller 7 년 전
부모
커밋
518fbba81c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tracim/command/webdav.py

+ 1 - 1
tracim/command/webdav.py 파일 보기

@@ -26,4 +26,4 @@ class WebdavRunnerCommand(AppContextCommand):
26 26
             tracim_config_file_path=tracim_config,
27 27
         )
28 28
         app = app_factory.get_wsgi_app()
29
-        serve(app)
29
+        serve(app, port=app.config['port'], host=app.config['host'])