From 756d83e066fbd7e4051616872aed4e1290c8b40e Mon Sep 17 00:00:00 2001 From: Username Date: Mon, 19 Jan 2026 19:40:04 +0100 Subject: [PATCH] api: remove prefix from index response --- app/api/routes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/api/routes.py b/app/api/routes.py index a77234b..0bee88f 100644 --- a/app/api/routes.py +++ b/app/api/routes.py @@ -844,7 +844,6 @@ class IndexView(MethodView): def get(self) -> Response: """Return API information and usage examples.""" - prefix = url_prefix() or "/" url = base_url() difficulty = get_dynamic_difficulty() pki_enabled = current_app.config.get("PKI_ENABLED", False) @@ -880,7 +879,6 @@ class IndexView(MethodView): response_data: dict[str, Any] = { "name": "FlaskPaste", "version": VERSION, - "prefix": prefix, "endpoints": endpoints, "authentication": { "anonymous": "Create pastes only (strict limits)",