Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change window.CLIPPY_CDN doesn't work #11

Open
erossini opened this issue Jun 13, 2022 · 2 comments
Open

Change window.CLIPPY_CDN doesn't work #11

erossini opened this issue Jun 13, 2022 · 2 comments

Comments

@erossini
Copy link

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
Copy link

Related to #10

@lizozom
Copy link

lizozom commented Mar 6, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants