totemofwolf commented on issue #4095:
URL: https://github.com/apache/apisix/issues/4095#issuecomment-823928829


   > > "cors":{
   > > "allow_credential":true,
   > > "allow_headers":"_",
   > > "allow_methods":"_",
   > > "allow_origins":"https://x";,
   > > "expose_headers":"*",
   > > "max_age":-1
   > > }
   > 
   > `*` is used in other options, so the `allow_credential` field should not 
be set to `true`.
   > <img alt="截屏2021-04-21 下午3 16 44" width="1022" 
src="https://user-images.githubusercontent.com/52862365/115513163-598b1700-a2b5-11eb-9fa6-122df672cb95.png";>
   
   
   I only set this in route, but it does not work any more.
   
   ```
     "plugins": {
       "cors": {
         "allow_origins": "https://x";
       }
     }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to