clippy.min.js no longer works
krasnit opened this issue ยท 4 comments
There is a link in clippy.min.js to an external agents folder that is no longer active. This makes this js unable to display any agent. The latest link in this js is set to "clippy.BASE_PATH="//s3.amazonaws.com/clippy.js/Agents/", which is dead. To resolve the issue, download the agents folder from Github and edit this clippy.BASE_Path reference to point to the location of that downloaded folder on the local machine, or host it on a reliable external server and point it to there.
also, gitcdn.xyz is also down. I'm not sure if it's just temporary, but I think it would be better to bundle the assets inside the package published to npm, and then use unpkg.com like https://unpkg.com/browse/clippyjs@0.0.3/ - (also, the intellij config files should be excluded ๐)
I got this working by setting window.CLIPPY_CDN
to https://cdn.jsdelivr.net/gh/pi0/clippyjs/assets/agents/
which links it directly to this github repo's current branch. jsdelivr.net seems to have a better service record than gitcdn.xyz
I fixed it by changing the AWS links to point to the files within this repo.
clippy.js
clippy.BASE_PATH = 'clippy/agents/';
load.js
clippy.BASE_PATH = 'clippy/agents/';
clippy.min.js
clippy.BASE_PATH = "clippy/agents/",
I can now load the agents fine.