Forum Discussion
kath patterson
Aug 16, 2017Iron Contributor
Setting up CDN on Sharepoint Online for use with Framework development
there is currently rather conflicting training advice for new SPFx developers. Can anyone confirm what is the correct guidance for this setup please? I have found these two completely different guida...
Sebastian Burrell
Aug 22, 2017Copper Contributor
Hi Kath,
they did change how it was done, I have recently followed this article and works perfectly for me: https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn
they did change how it was done, I have recently followed this article and works perfectly for me: https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn
- kath pattersonAug 22, 2017Iron Contributor
you are quite right, I have tried both methods now and the one that works is
Connect-SPOService -Url https://<my tenant admin>
Get-SPOTenantCdnEnabled -CdnType Public
Add-SPOTenantCdnOrigin -CdnType Public -OriginUrl sites/spfxdev/devcdn
the CDN base path is then
{"cdnBasePath": "https://publiccdn.sharepointonline.com/<mytenanthost>.sharepoint.com/sites/spfxdev/devcdn/myfolder"}please team could someone pull the old guidance?