Skip to content

Commit

Permalink
replace documentation links in README (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
coren-frankel authored Sep 7, 2024
1 parent c851476 commit 1225e78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Simple Usage
~~~~~~~~~~~~

In the simplest case, initialize the Flask-Cors extension with default arguments in order to allow CORS for all domains on all routes.
See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
See the full list of options in the `documentation <https://flask-cors.readthedocs.io/en/latest/api.html#extension>`__.

.. code:: python
Expand All @@ -51,7 +51,7 @@ Resource specific CORS
^^^^^^^^^^^^^^^^^^^^^^

Alternatively, you can specify CORS options on a resource and origin level of granularity by passing a dictionary as the `resources` option, mapping paths to a set of options.
See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
See the full list of options in the `documentation <https://flask-cors.readthedocs.io/en/latest/api.html#extension>`__.

.. code:: python
Expand All @@ -67,7 +67,7 @@ Route specific CORS via decorator

This extension also exposes a simple decorator to decorate flask routes with.
Simply add ``@cross_origin()`` below a call to Flask's ``@app.route(..)`` to allow CORS on a given route.
See the full list of options in the `decorator documentation <https://flask-cors.corydolphin.com/en/latest/api.html#decorator>`__.
See the full list of options in the `decorator documentation <https://flask-cors.readthedocs.io/en/latest/api.html#decorator>`__.

.. code:: python
Expand All @@ -79,7 +79,7 @@ See the full list of options in the `decorator documentation <https://flask-cors
Documentation
-------------

For a full list of options, please see the full `documentation <https://flask-cors.corydolphin.com/en/latest/api.html>`__
For a full list of options, please see the full `documentation <https://flask-cors.readthedocs.io/en/latest/api.html>`__

Troubleshooting
---------------
Expand Down

0 comments on commit 1225e78

Please sign in to comment.