当前位置:网站首页>解决:配置、路径完全没错 gateway就是访问不了
解决:配置、路径完全没错 gateway就是访问不了
2022-07-19 08:29:00 【陶然同学】
概述
服务可以访问 gateway也配置了跨域 使用的是配置类 routes的配置完全没有问题 但是前端就是访问不到 从图片可以看到路径完全没有任何为题就是访问不到
原因
gateway已经配置了跨域 微服务里面就不需要配置跨域 否则就会访问不了
解决方案
删除微服务里面的跨域注解@CrossOrigin即可
边栏推荐
- Hcia-r & s self use notes (11) VRP file system, system management
- 数据库优化方式和问题汇总篇
- 论文阅读:LinkNet: Exploiting Encoder Representations forEfficient Semantic Segmentation
- Brand new! Uncover the promotion route of Ali P5 Engineer ~p8 architect
- 第十四篇,STM32的CAN总线通信
- Yunna - dynamic environment monitoring inspection table, information machine room inspection table
- Weekly recommended short videos: put forward higher requirements for the elastic computing power of cloud computing
- Shuttle + Alluxio 加速内存Shuffle起飞
- 1381: City Road (Dijkstra)
- Digital image processing (Gonzalez) learning Chapter 3 gray scale transformation and spatial filtering
猜你喜欢
[Extension announcement] 2022 International Conference on network and information security (nisecurity 2022)
Cloud foundry developer course (lfd232) 3 core concepts
NFT 游戏互操作性:技术不是拦路虎
phpcms添加多文本属性字段_详细教程
Hcia-r & s self use notes (11) VRP file system, system management
第十五篇,STM32的SPI串行通信协议
What network models does neural network include? Basic principles of neural network model
Why learn istio
23. Network principle - key protocols in tcp/ip four layer model (2)
CAN的过滤器设置
随机推荐
opencv(12):cv::rectangle学习与代码演示,使用opencv画矩形/矩形框
oracle 19c版本中, LogMiner包Continuous_mine功能过时,导致CDC功
PriorityQueue -- priority queue (heap)
第十五篇,STM32的SPI串行通信协议
STL pair 常见构造方法及实例赏析
How to apply neural network model to practice - mathematical modeling case of neural network model
高斯数学——看动画学奥数
Starbucks may close more U.S. stores in the future due to concerns about the safety of employees
秋招之前,这8篇推荐系统的论文一定要读!【附论文资料】
notepad++如何取消空行
DOM events of DOM series
How much is the price of the moving ring monitoring system
phpcms添加多文本属性字段_详细教程
Gamefi industry declines but not out | June report
Solution to the first game of 2022 Niuke multi school league
Read the paper: (yolov1) you only look once:unified, real time object detection
Fault 006: connection sorting and de duplication results are not as good as people want
大佬们,请问 Flink SQL 怎么使用 Per-Job 模式提交任务啊?
信奥中的数学学习:小学、初高中数学 视频集
What network models does neural network include? Basic principles of neural network model