Skip to content

Commit 13fe7eb

Browse files
jonthenerdVesaJuvonen
authored andcommitted
Clarify note on */CLIENTSIDEASSETS origin requirement (SharePoint#1541)
Added clarification inside of a note block on requirement of */CLIENTSIDEASSETS origin. If this origin is not present and the public CDN is enabled, requests for SPFx bundles will contain the token spclientsideassetlibrary. This could potentially be a bug, as it is feasible for tenants to desire to use the CDN functionality in a limited capacity (say for a central /CDN origin) and disable the out-of-box origins to reduce overall exposure.
1 parent 7b92b37 commit 13fe7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ You can also follow these steps by watching this video on the [SharePoint PnP Yo
6767
SharePoint Framework solutions can automatically benefit from the Office 365 Public CDN as long as it's enabled in your tenant. When CDN is enabled, the `*/CLIENTSIDEASSETS` origin is automatically added as a valid origin.
6868

6969
> [!NOTE]
70-
> If you have previously enabled Office 365 CDN, you should re-enable the public CDN so that you have the `*/CLIENTSIDEASSETS`entry added as a valid CDN origin for public CDN.
70+
> If you have previously enabled Office 365 CDN, you should re-enable the public CDN so that you have the `*/CLIENTSIDEASSETS`entry added as a valid CDN origin for public CDN. If this entry is not present and the public CDN is enabled in your tenant, bundle requests will contain the token hostname `spclientsideassetlibrary` in their URL, causing the requests to fail.
7171
7272
6. You can double-check the current setup of your end-points. Execute the following command to get the list of CDN origins from your tenant:
7373

0 commit comments

Comments
 (0)