Merge branch 'main' of github.com:sanic-org/sanic into issue2661

This commit is contained in:
Adam Hopkins 2023-01-31 10:44:49 +02:00
commit 5dfd48f855
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB

View File

@ -304,9 +304,6 @@ class Blueprint(BaseSanic):
# Routes
for future in self._future_routes:
# attach the blueprint name to the handler so that it can be
# prefixed properly in the router
future.handler.__blueprintname__ = self.name
# Prepend the blueprint URI prefix if available
uri = self._setup_uri(future.uri, url_prefix)