favicon.svg and FaviconHandler

19 views
Skip to first unread message

Konstantin Smirnov

unread,
Jan 28, 2021, 7:40:22 AM1/28/21
to vert.x

Hi all.
All new browsers nowadays provide support for beautiful SVG-icons, like here.

Can the FaviconHandler be used for that somehow? As I understood it reacts on "/favicon.ico" URL path.

What is the best practice with it? Can a favicon.svg be delivered with it?

TIA


Thomas SEGISMONT

unread,
Jan 28, 2021, 8:15:20 AM1/28/21
to vert.x
Hi,

In theory, the favicon handler could handle any request that matches the route definition.

Would you mind filing an issue with the details?

Thank you

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/cf3deb2a-735b-4ffb-bbf3-7565d1a3d4f1n%40googlegroups.com.

Konstantin Smirnov

unread,
Jan 30, 2021, 7:28:56 PM1/30/21
to vert.x
Hmm, after taking another look at the whole thing, it doesn't make much sense for FaviconHandler to render something other than a good-ol' .ico file.
Reply all
Reply to author
Forward
0 new messages