79092573

Date: 2024-10-16 05:29:50
Score: 2
Natty:
Report link

The root cause of the issue was that I was using a relative URL for the baseURL. The Creative Editor SDK expects the baseURL to be an absolute URL.

So instead of

instance.addDefaultAssetSources({
    baseURL: '/public/cesdk/assets/',
});

I needed to use an absolute URL like:

instance.addDefaultAssetSources({
    baseURL: 'https://mywebsite.com/public/cesdk/assets/',
});

More information about serving assets is in this guide: https://img.ly/docs/cesdk/engine/guides/assets-served-from-your-own-servers/

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rudolf Traunmüller