New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大佬们,跨域请求403报错,后端已经允许跨域了 #4201
Comments
不需要写死地址。可以利用不同的启动命令去启动不同环境。
挂到生产环境上去后。在去用nginx反向代理。可以解决跨域问题。 |
你的Java跨域不正确,如果有使用第三方鉴权框架例如 Shiro或者Sa-token等需要额外配置 对应的跨域配置 |
前端使用代理试试 |
后端是不是用Spring Security了?用了拦截器这样配置是不生效的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
555真的没辙了哎
The text was updated successfully, but these errors were encountered: