update index return

This commit is contained in:
lan-air
2022-12-09 20:31:54 +08:00
parent 6fcd5016d4
commit cea831f89b
2 changed files with 7 additions and 2 deletions
-1
View File
@@ -58,7 +58,6 @@ def get_file_name(key, ext, file):
@app.get('/') @app.get('/')
async def index(): async def index():
with open('templates/index.html', 'r') as f:
return HTMLResponse(index_html) return HTMLResponse(index_html)
+6
View File
@@ -12,6 +12,7 @@
- [x] Sqlite3数据库:无需安装数据库 - [x] Sqlite3数据库:无需安装数据库
## 系统截图 ## 系统截图
![取件](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%8F%96%E4%BB%B6.png) ![取件](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%8F%96%E4%BB%B6.png)
![取件箱](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%8F%96%E4%BB%B6%E7%AE%B1.png) ![取件箱](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%8F%96%E4%BB%B6%E7%AE%B1.png)
![寄件](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%AF%84%E4%BB%B6.png) ![寄件](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/%E5%AF%84%E4%BB%B6.png)
@@ -38,3 +39,8 @@
docker build --file Dockerfile --tag filecodebox . docker build --file Dockerfile --tag filecodebox .
docker run -d -p 12345:12345 --name filecodebox filecodebox docker run -d -p 12345:12345 --name filecodebox filecodebox
``` ```
## 免责声明
本项目开源仅供学习使用,不得用于商业用途以及任何违法用途,否则后果自负,与本人无关。