Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ See the full list of options in the `documentation <https://flask-cors.corydolph

.. code:: python


from flask import Flask
from flask_cors import CORS

Expand Down Expand Up @@ -71,6 +70,8 @@ See the full list of options in the `decorator documentation <https://flask-cors

.. code:: python

from flask_cors import cross_origin

@app.route("/")
@cross_origin()
def helloWorld():
Expand Down