Merge branch 'main' of github.com:sanic-org/sanic into issue2661
This commit is contained in:
commit
5dfd48f855
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user