Zhou Zheng
Results
2
comments of
Zhou Zheng
> 知道了 nginx需要加一层redirect 怎么解决的呢
dhapi部署在 dhapi.ethanzhou.cn 奇怪的是,GET https://dhapi.ethanzhou.cn/36kr (不一定是36氪,是所有的接口)可以获得正确的响应 https://dhapi.ethanzhou.cn/36kr/ 就不可以,但是我部署后好像默认是从https://dhapi.ethanzhou.cn/36kr/ 进行 GET 。所以我的方法是先重定向,再允许跨域。但是还是会存在获取最新数据报 405 相关问题,求救!