日常更新

This commit is contained in:
da_nuo 2025-05-18 11:19:17 +08:00
parent cc752e9a78
commit 34bb29070c
5 changed files with 8 additions and 34 deletions

View File

@ -1,30 +0,0 @@
[server]
# 设置端口
# 接受数字类型,建议 10000-65565
#(set a port, Accept number type, suggested 10000-65565)
port = 41047
# 是否启动debug
# 接受 T(True) F(False)
#(Whether debug is enabled and accepts T or F)
debug = T
# web 目录浏览的界面语言
# 接受 zh_cn en_us
#(web interface language, accepts zh_cn , en_us)
web_language = zh_cn
# root 根路径
# 建议路径最后包含”\“例如”D:\“, "D:\me\",因为可能会发生某些意外
#(set root path, It is recommended that the path include "\" at the end, such as "D:\ ", "D:\me\", because something might happen)
root = D:\
# 设定是否输出日志(这个选项暂时弃用)
# 接受 T(True) F(False)#(Whether to log output, accept T or F)
#log_print = T
# tip: 对于路径,语言选项,不建议建议包括 "" 或
# tip: For path, language options, not recommended Recommended include "" or

View File

@ -32,7 +32,7 @@ if True:
"# root 根路径\n",
'# 建议路径最后包含”\例如”D:\“, "D:\\me\\",因为可能会发生某些意外\n',
'#(set root path, It is recommended that the path include "\\" at the end, such as "D:\\ ", "D:\\me\\", because something might happen)\n',
'root = C:\\users\n',
'root = C:\\users\\\n',
'\n',
'# 设定是否输出日志(这个选项暂时弃用)\n',
'# 接受 T(True) F(False)',

View File

@ -9,7 +9,7 @@ import return_api
app = Flask(__name__)
application = app
root = config.root
root = config.rootc

View File

@ -2,7 +2,9 @@
---
[English](https://github.com/Jonck-lens/web_file_view/blob/master/readme_en.md)<p>
一个非常简单的项目使用python 以及 flask开发可用于临时的web文件浏览需求
一个非常简单的项目使用python 以及 flask开发可用于临时的web文件浏览需求</p>
你可以修改html模板文件从而自定义你的web页面
---

View File

@ -2,7 +2,9 @@
---
[中文](https://github.com/Jonck-lens/web_file_view/blob/master/readme.md)<p>
A very simple project, developed with python flask, that can be used for temporary web file browsing needs
A very simple project, developed with python flask, that can be used for temporary web file browsing needs</p>
You can conveniently modify the html template file to customize your page
---