Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

apistar-cors

CORS support for API Star.

Installation

pipenv install apistar_cors

Usage

from apistar import App
from apistar_cors import CORSMixin


class App(CORSMixin, WSGIApp):
  pass


COMPONENTS = [
    # ...
]

ROUTES = [
    # ...
]

app = App(
    components=COMPONENTS,
    routes=ROUTES,
)

License

apistar_cors is licensed under Apache 2.0. Please see LICENSE for licensing details.

About

CORS support for API Star.

Topics

Resources

License

Packages

No packages published

Languages