Spring Cloud - Zuul Proxy is producing a No 'Access-Control-Allow-Origin' ajax response

后端 未结 6 586
别跟我提以往
别跟我提以往 2021-02-04 05:28

Startup Appplication:

@SpringBootApplication
@EnableZuulProxy
public class ZuulServer {

     public static void main(String[] args) {
         new SpringApplica         


        
6条回答
  •  不知归路
    2021-02-04 06:27

    Just adding the following to the configuration worked for me

    zuul:
        ignoredHeaders: Access-Control-Allow-Credentials, Access-Control-Allow-Origin
    

提交回复
热议问题