You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess it's your code problem. 'should_i_release' route never used by aiohttp_cors itself. Perhaps you are trying to add two different routes with the same name what's obviously wrong.
For added CORS routes I copied route name parameter from original route which leaded to this bug.
I fixed it in PR #24 by setting route name to None for CORS routes.
@asvetlov , can you please review that PR? If changes are OK I will release 0.2.0 with fix.
I get a
ValueError
when passing a name torouter.add_route
Traceback:
Removing
name=name
from the call toapp.router.add_route
removes the error.The text was updated successfully, but these errors were encountered: