ashleysommer / sanic-cors

A Sanic extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible. Based on flask-cors by Cory Dolphin.
MIT License
159 stars 22 forks source link

For several questions about the blueprint configuration method, whether methods=['OPTIONS'] must #65

Open LeslieWuboy opened 2 years ago

LeslieWuboy commented 2 years ago

@ashleysommer First of all, thank you very much for providing sanic with such important components. I want to ask two questions. First, is it necessary to include methods' OPTIONS'? Second, the routes in my current blueprint cannot be cors enabled.