Skip to content

Commit

Permalink
Merge pull request #123 from corydolphin/broken-links
Browse files Browse the repository at this point in the history
Fixup example links in readme
  • Loading branch information
corydolphin committed May 8, 2015
2 parents ad3532d + eae0030 commit 1fa5353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $ pip install -U flask-cors

## Usage

This extension enables CORS support either via a decorator, or a Flask extension. There are three examples shown in the [examples](https://github.com/corydolphin/flask-cors/tree/master/examples) directory, showing the major use cases. The suggested configuration is the [simple_example.py](https://github.com/corydolphin/flask-cors/tree/master/examples/simple_example.py), or the [app_example.py](https://github.com/corydolphin/flask-cors/tree/master/examples/app_based_example.py). A full list of options can be found in the [documentation](http://flask-cors.readthedocs.org/en/latest/).
This extension enables CORS support either via a decorator, or a Flask extension. There are three examples shown in the [examples](https://github.com/corydolphin/flask-cors/tree/master/examples) directory, showing the major use cases. The suggested configuration is the [app_based_example.py](https://github.com/corydolphin/flask-cors/blob/master/examples/app_based_example.py), or the [view_based_example.py](https://github.com/corydolphin/flask-cors/blob/master/examples/view_based_example.py). A full list of options can be found in the [documentation](http://flask-cors.readthedocs.org/en/latest/).

This package has a simple philosophy, when you want to enable CORS, you wish to enable it for all use cases on a domain. This means no mucking around with different allowed headers, methods, etc. By default, submission of cookies across domains is disabled due to the security implications, please see the documentation for how to enable credential'ed requests, and please make sure you add some sort of [CRSF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) protection before doing so!

Expand Down Expand Up @@ -77,7 +77,7 @@ A simple set of tests is included in `test/`. To run, install nose, and simply i

## Contributing

Questions, comments or improvements? Please create an issue on [Github](https://github.com/corydolphin/flask-cors), tweet at [@corydolphin](https://twitter.com/corydolphin) or send me an email. I do my best to include every contribution proposed in any way that I can.
Questions, comments or improvements? Please create an issue on [Github](https://github.com/corydolphin/flask-cors), tweet at [@corydolphin](https://twitter.com/corydolphin) or send me an email. I do my best to include every contribution proposed in any way that I can.

## Credits

Expand Down

0 comments on commit 1fa5353

Please sign in to comment.