pi0 / clippyjs

Add Clippy or his friends to any website for instant nostalgia
https://pi0.github.io/clippyjs/demo
Other
403 stars 80 forks source link

Change window.CLIPPY_CDN doesn't work #11

Open erossini opened 2 years ago

erossini commented 2 years ago

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.

tassoman commented 2 years ago

Related to #10

lizozom commented 1 year ago

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!