当前位置:网站首页>Cross domain issues - allow origin header contains multiple values but only one is allowed
Cross domain issues - allow origin header contains multiple values but only one is allowed
2022-04-23 06:34:00 【xingsfdz】
Vue The cross domain exception of the provider is as follows :
1.F12 see Network Whether there are multiple request headers ( If there are more than one There will be the above problem )
2. resolvent :
Check nginx To configure Is there more than one
Just remove it and leave one ( Leave code or nginx Any of them will do )
add_header Access-control-Allow-Origin *;
版权声明
本文为[xingsfdz]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210614267093.html
边栏推荐
猜你喜欢
随机推荐
Swagger2 generates API documents
【无标题】
Friend function, friend class, class template
Record the installation and configuration of gestermer on TX2, and then use GST RTSP server
Object转Json差异之Gson fastJson jackson 修改字段名
根据SQL语句查询出的结果集,将其封装为json
[leetcode 202] happy number
[leetcode 54] spiral matrix
Cf515b drazil and his happy friends
Motor and drive (Qi Jinqing Edition)
Explanation of login page
Vscode custom comments
生成验证码
[leetcode 401] binary Watch
Export of data
Flask操作多个数据库
Excel打开超大csv格式数据
C语言实现2048小游戏方向合并逻辑
word排版遇到的格式问题
【UDS统一诊断服务】四、诊断典型服务(2)— 数据传输功能单元