Favicon image crashed NodeBB



  • Hey,

    This is not high priority, I know the admins/mods do a lot already<3

    anyway, my problem; When I go to change a favicon file (.ico) It just crashes NodeBB and it doesn't stop. I have to manually delete it than revert back to the original picture. (16x16 is what i am using for size.)

    Would appreciate any help from anyone<3
    David


  • Admin

    @davidr Can you attach the favicon here so we can test locally?



  • My friend managed to do a bottched job with adding this code into the "Custom Javascript" section:

    $("link[rel='icon']").attr("href", "/assets/uploads/system/favicon.ico?v=1515805137459");

    Anyway here's the picture:
    0_1515999429639_Untitled-1.png

    I had to use PNG as ICO isn't supported


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.