def run(cls): cherrypy_cors.install() config = { '/': { 'cors.expose.on': True, }, } cherrypy.quickstart(cls(), config=config)