浏览代码

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
             tracim_config_file_path=tracim_config,
26
             tracim_config_file_path=tracim_config,
27
         )
27
         )
28
         app = app_factory.get_wsgi_app()
28
         app = app_factory.get_wsgi_app()
29
-        serve(app)
29
+        serve(app, port=app.config['port'], host=app.config['host'])