# CDN yields CORS problem when loading icons

**URL:** <https://community.developer.atlassian.com/t/cdn-yields-cors-problem-when-loading-icons/97921>\
**Category:** Jira Development\
**Tags:** jira-data-center\
**Created:** [December 19, 2025, 7:55am UTC](https://community.developer.atlassian.com/t/cdn-yields-cors-problem-when-loading-icons/97921 "2025-12-19T07:55:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterAtthem](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterAtthem](https://community.developer.atlassian.com/u/PeterAtthem)\
**Post date:** [December 19, 2025, 7:55am UTC](https://community.developer.atlassian.com/t/cdn-yields-cors-problem-when-loading-icons/97921/1 "2025-12-19T07:55:54Z")

</div>

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

```auto
	<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>

```

 ![Skärmavbild 2025-12-19 kl. 08.50.42](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/6/6/661261cd1676fd7c6bcbe42d69c9de664ddc5a54.jpeg)
