mirror of
https://github.com/revanced/revanced-api.git
synced 2025-06-13 05:37:44 +02:00
fix: unversioned endpoints placement under v0 should be at root
This commit is contained in:
@ -20,7 +20,7 @@ for finder, module_name, ispkg in pkgutil.iter_modules(["api"]):
|
||||
# Create Blueprint groups for each version
|
||||
api = []
|
||||
for version, blueprints in versioned_blueprints.items():
|
||||
if version == "old":
|
||||
if version == "old" or version == "v0":
|
||||
group = Blueprint.group(*blueprints, url_prefix="/")
|
||||
else:
|
||||
group = Blueprint.group(*blueprints, version=version, url_prefix="/")
|
||||
|
Reference in New Issue
Block a user