Serving icon indicating copy to clipboard operation
Serving copied to clipboard

paddeleserving服务化部署后怎么添加CORS跨域配置?

Open dizhenx opened this issue 1 year ago • 1 comments

paddleserving部署paddleocr后,运行web_service.py, 使用命令行请求可以访问,但是前端页面发送post请求报错,不能跨域请求,访问失败。 这个web_service怎么添加CORS跨域配置,让前端能够访问?

dizhenx avatar Jun 29 '23 02:06 dizhenx

Message that will be displayed on users' first issue

github-actions[bot] avatar Jun 29 '23 02:06 github-actions[bot]