mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 05:49:02 +08:00
🐛 fix error arg
This commit is contained in:
parent
68ed443fa3
commit
389211f740
@ -4,7 +4,7 @@
|
|||||||
@Author : yanyongyu
|
@Author : yanyongyu
|
||||||
@Date : 2020-11-22 00:56:31
|
@Date : 2020-11-22 00:56:31
|
||||||
@LastEditors : yanyongyu
|
@LastEditors : yanyongyu
|
||||||
@LastEditTime : 2020-11-22 01:03:05
|
@LastEditTime : 2020-11-22 02:16:42
|
||||||
@Description : None
|
@Description : None
|
||||||
@GitHub : https://github.com/yanyongyu
|
@GitHub : https://github.com/yanyongyu
|
||||||
"""
|
"""
|
||||||
@ -16,7 +16,7 @@ from nonebot.drivers.fastapi import Driver
|
|||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
|
|
||||||
|
|
||||||
def register_route(driver: Driver, socketio):
|
def register_route(driver: Driver):
|
||||||
app = driver.server_app
|
app = driver.server_app
|
||||||
|
|
||||||
static_path = str((Path(__file__).parent / ".." / "dist").resolve())
|
static_path = str((Path(__file__).parent / ".." / "dist").resolve())
|
||||||
|
Loading…
Reference in New Issue
Block a user