clippyjs
clippyjs copied to clipboard
Change window.CLIPPY_CDN doesn't work
I want to use the assets from my custom URL. For that, I added
window.CLIPPY_CDN = '/_content/PSC.Blazor.Components.Clippy/assets/agents/'
but it doesn't work. Also, I tried
clippy.load(agentName, agent => {
window.clippyAgent = agent;
agent.show();
}, undefined, '/_content/PSC.Blazor.Components.Clippy/assets/agents/');
In both cases, the assets are coming from s3.amazon.com.
Related to #10
I created a fresh version of Clippy with a modern stack here. It uses typescript, rollupjs 2.x, and lazy loading modules (no cdn). Hope it helps!