We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run this code on sanic 21.12.0, it errors and can't run. It works on older versions of sanic though.
from sanic import Sanic, response from sanic_cors import CORS app = Sanic(__name__) CORS(app) @app.route("/") async def index(request): return response.text("Hello, World!") if __name__ == "__main__": app.run(host="0.0.0.0", port=80)
The text was updated successfully, but these errors were encountered:
This is an incompatibility with Sanic-CORS v1.0.1 and Sanic v21.12.0 Please update to Sanic-CORS v2.0 to get compatibility with Sanic v21.12.0
Sorry, something went wrong.
Bump sanic-cors to 2.2.0
530905c
There's an incompatibility between sanic-cors 1.0.1 and sanic 21.12.0 ashleysommer/sanic-cors#56
Bump Sanic-Cors to 2.2.0 (#1594)
5439809
Bump sanic-cors to 2.2.0 There's an incompatibility between sanic-cors 1.0.1 and sanic 21.12.0 ashleysommer/sanic-cors#56
No branches or pull requests
When I run this code on sanic 21.12.0, it errors and can't run. It works on older versions of sanic though.
The text was updated successfully, but these errors were encountered: