-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add favicon #13054
Add favicon #13054
Conversation
void handleFavicon(HttpRequest request, HttpChannel channel) { | ||
if (request.method() == RestRequest.Method.GET) { | ||
try { | ||
try (InputStream stream = getClass().getResourceAsStream("/config/favicon.ico")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we keep this in memory for performance reasons?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dunno, it only impacts users using the browser. i figure that isnt perf critical, the server doesn't get hammered with those. maybe i'm wrong. file is 1KB.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't come up with any more seriousness :)
LGTM I raised one little concern 🎱 |
Nice... Looks like you were bored with unicast/multicast things :) |
LGTM |
Looks like this. Let the bikeshedding begin :)