iconify / api

Iconify API script. Search engine for icons, provides icon data on demand for icon components, dynamically generates SVG.
MIT License
117 stars 40 forks source link

[Bug] Issue about custom icons #27

Open BTBMan opened 6 months ago

BTBMan commented 6 months ago

I'm using the custom icons feature. when I put an icon collection file such as foo.json into the icons folder, It includes an icon bar: {body: 'xxx'}.

After that, When I use some APIs such as /collections?prefix=foo/collection?prefix=foo/foo.json?icons=bar, etc. They work fine.

But I deleted foo.json, and updated via the /update API. But It seems not updated. I can also receive the same responses via the APIs above. except /collections?prefix=foo, that's because it response is the icon info.

Expection

I hope it will return nothing after deleting the file.

cyberalien commented 6 months ago

I did some testing, everything works correctly.

Maybe you have cached data in browser or did not wait for update to complete?