mirror of https://gitlab.com/litecord/litecord.git
update main dependencies, fix latest quart
This commit is contained in:
parent
d853073114
commit
61f2163049
File diff suppressed because it is too large
Load Diff
|
|
@ -9,15 +9,15 @@ license = "GPLv3-only"
|
|||
python = "^3.9"
|
||||
bcrypt = "^4.0.1"
|
||||
itsdangerous = "^2.1.2"
|
||||
asyncpg = "^0.27.0"
|
||||
websockets = "^11.0.3"
|
||||
asyncpg = "^0.29.0"
|
||||
websockets = "^12.0"
|
||||
Earl-ETF = "^2.1.2"
|
||||
logbook = "^1.5.3"
|
||||
Cerberus = "^1.3.4"
|
||||
quart = "^0.18.4"
|
||||
pillow = "^9.5.0"
|
||||
aiohttp = "^3.8.4"
|
||||
zstandard = "^0.21.0"
|
||||
Cerberus = "^1.3.5"
|
||||
quart = "^0.19.3"
|
||||
pillow = "^10.1.0"
|
||||
aiohttp = "^3.9.0"
|
||||
zstandard = "^0.22.0"
|
||||
winter = {git = "https://gitlab.com/elixire/winter"}
|
||||
wsproto = "^1.2.0"
|
||||
|
||||
|
|
|
|||
5
run.py
5
run.py
|
|
@ -201,12 +201,15 @@ def set_blueprints(app_):
|
|||
|
||||
for bp, suffix in bps.items():
|
||||
for prefix in PREFIXES:
|
||||
version = int(prefix.split("v")[1])
|
||||
url_prefix = f'{prefix}{suffix or ""}'
|
||||
|
||||
if suffix == -1:
|
||||
url_prefix = ""
|
||||
|
||||
app_.register_blueprint(bp, url_prefix=url_prefix)
|
||||
app_.register_blueprint(
|
||||
bp, name=f"v{version}.{bp.name}", url_prefix=url_prefix
|
||||
)
|
||||
|
||||
|
||||
app = make_app()
|
||||
|
|
|
|||
Loading…
Reference in New Issue