mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 19:11:00 +00:00
🐛 fix doc plugin build fail
This commit is contained in:
@ -9,4 +9,4 @@ def register_route(driver: Driver):
|
||||
|
||||
static_path = str((Path(__file__).parent / ".." / "dist").resolve())
|
||||
|
||||
app.mount("/docs", StaticFiles(directory=static_path, html=True), name="docs")
|
||||
app.mount("/website", StaticFiles(directory=static_path, html=True), name="docs")
|
||||
|
Reference in New Issue
Block a user