start_server中static_dir的设置 #50
Unanswered
MrSnake0208
asked this question in
Q&A
Replies: 1 comment
-
通过 参见:https://pywebio.readthedocs.io/zh_CN/latest/platform.html#pywebio.platform.tornado.start_server |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
文件目录如下图,
我想通过如下网址直接获取文件,static_dir应该如何设置
http://localhost/ics/B20110626.ics
目前的设置如下
start_server(start, debug=False,static_dir="./ics/",host='0.0.0.0', port=80, cdn=False)
Beta Was this translation helpful? Give feedback.
All reactions