# CORS OriginList not shown in UI

**URL:** <https://community.traefik.io/t/cors-originlist-not-shown-in-ui/6376>\
**Category:** Traefik v2\
**Tags:** middleware\
**Created:** [June 4, 2020, 11:53am UTC](https://community.traefik.io/t/cors-originlist-not-shown-in-ui/6376 "2020-06-04T11:53:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wopl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/wopl/32/2156_2.png) [@wopl](https://community.traefik.io/u/wopl)\
**Post date:** [June 4, 2020, 11:53am UTC](https://community.traefik.io/t/cors-originlist-not-shown-in-ui/6376/1 "2020-06-04T11:53:11Z")

</div>

Running Traefik 2.2.0. Need to define some CORS Header:

> apiVersion: [traefik.containo.us/v1alpha1](http://traefik.containo.us/v1alpha1)  
> kind: Middleware  
> metadata:  
> name: longhorn-cors  
> namespace: default  
> spec:  
> headers:  
> accessControlAllowMethods:  
> - "GET"  
> - "OPTIONS"  
> - "PUT"  
> accessControlAllowOriginList:  
> - "[http://localhost](http://localhost)"  
> accessControlMaxAge: 100  
> addVaryHeader: "true"

Dashboard does not show OriginList. Is this an UI-issue only? Or was OriginList not accepted for any reason?  
Thanks,  
Wolfram
