Hello,
We see that when a Jira Datacenter instance has enabled CDN we get a CORS. When not enabled all works good.
How can we make it so it also works if a customer has CDN enabled?
Our resources are declared like this in atlassian-plugin.xml
<web-resource key="inbox-resources"
name="Inbox Web Resources">
<transformation extension="js">
<transformer key="jsI18n" />
</transformation>
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-select2</dependency>
<dependency>com.atlassian.auiplugin:aui-inline-dialog2</dependency>
<resource type="download" name="images" location="/images" />
<resource type="download" name="mark-all-read.svg" location="/images/mark-all-read.svg" />
<resource type="download" name="remove-all.svg" location="/images/remove-all.svg" />
<resource type="download" name="open-all.svg" location="/images/open-all.svg" />
<resource type="download" name="settings.svg" location="/images/settings.svg" />
<context>jira.general</context>
<context>jira.admin</context>
</web-resource>
