🐛: 修复一些小bug
This commit is contained in:
parent
84ee1837ce
commit
4ffaa5a938
2 changed files with 6 additions and 2 deletions
|
|
@ -132,6 +132,7 @@ app = FastAPI(
|
||||||
app.include_router(api_router, prefix="/api")
|
app.include_router(api_router, prefix="/api")
|
||||||
|
|
||||||
# PyWebIO APP
|
# PyWebIO APP
|
||||||
|
if config['Web']['PyWebIO_Enable']:
|
||||||
webapp = asgi_app(lambda: MainView().main_view())
|
webapp = asgi_app(lambda: MainView().main_view())
|
||||||
app.mount("/", webapp)
|
app.mount("/", webapp)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
# Web
|
# Web
|
||||||
Web:
|
Web:
|
||||||
|
# APP Switch
|
||||||
|
PyWebIO_Enable: true # Enable APP | 启用APP
|
||||||
|
|
||||||
# APP Information
|
# APP Information
|
||||||
Domain: https://douyin.wtf # Web domain | Web域名
|
Domain: https://douyin.wtf # Web domain | Web域名
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue