如何在GUnicorn上启用CORS?

时间:2018-03-16 17:56:47

标签: python cors web-deployment gunicorn

我用Swagger,Python,Falsy构建了一个API,我希望在网站上显示它。我可以在本地主机服务器上显示API,但是当我尝试其他任何其他的localhost时。我得到一个没有启用CORS的响应。如何使用Gunicorn在我的系统上启用CORS来部署服务器?

0 个答案:

没有答案