Nuxt-security scanning all emojis as images? causing laggy emoji picker

Hi I installed the nuxt-security module and I'm using its default confid. I also have nuxt-emoji picker however when i open and close the emoji picker it's very laggy as I assume nuxt-security is treating every single emoji as an image it has to check? but inspecting the page in chrome the emojis are just emojis not images. Is this expected behaviour or is there a way to exclude emojis from being checked?
4 Replies
kapa.ai
kapa.ai3w ago
Hi @WiFi Plug. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain any information about the nuxt-security module scanning emojis as images or causing lag with emoji pickers. There is also no documentation or example about configuring nuxt-security to exclude emojis from checks, nor any mention of interaction between nuxt-security and emoji pickers. If you are experiencing performance issues, it may be helpful to check the official documentation for both nuxt-security and your emoji picker, or to open an issue on their respective repositories for more targeted support. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3w ago
<@679734274840330384> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
johntanzer
johntanzer3w ago
Why do you think nuxt security is checking them? Haven’t used emoji module. But probably do an api call each time to get the icons?
WiFi Plug
WiFi PlugOP3w ago
ah yeah you're right, it is making an api call to grab the emojis each time so I'll try to whitelist that
Refused to load the image 'https://cdn.jsdelivr.net/npm/[email protected]/img/apple/64/1f954.png' because it violates the following Content Security Policy directive: "img-src 'self' data:".
Refused to load the image 'https://cdn.jsdelivr.net/npm/[email protected]/img/apple/64/1f954.png' because it violates the following Content Security Policy directive: "img-src 'self' data:".

Did you find this page helpful?