Serve: Better info section

Created on 23 Jan 2017  路  16Comments  路  Source: vercel/serve

This needs to be better. Looks like it's designed for devs (shouldn't be the case)!

screen shot 2017-01-23 at 17 56 08

patch

Most helpful comment

Another idea:

Showing nothing would bother less in 99% of the page views. For those who are interested, we can respond with a Server header or https://github.com/zeit/serve.

All 16 comments

What is your suggestion, how should it look? @leo 馃

Is the port relevant? For all production-grade deployments, this will probably run behind a proxy like nginx which has different ports anyways. For all dev-deployments, people will know what ports are and how they work.

Regarding the hostname, I'd argue that it is irrelevant as well, since you only get this message if you've already found the server.

We could improve security by hiding the version number, IP and port.

I honestly just want to mention that it's using serve. Or maybe even hide it completely?

~improve~ obscure security 馃槈 yes, but I think it's good advertising to have it there if nothing else

Running version 2.4.3 of serve

?

I think the node version is relevant enough and we don't want to support security by obscurity, so i prefer "serve x.x.x running on Node y.y.y".

node version is relevant enough

Relevant for what? We're not running any custom code on there.

@leo

Relevant for what? We're not running any custom code on there.

Just like the serve version, to see if both are up to date.

Serve 2.0.0 running on Node 7.0.0

Is perfect! Also "Serve" and "Node" should be linked.

And "serve" should be lower case, just like in the readme.

@derhuerst Technically, yes. But it's the start of the sentence, so it looks pretty bad. In always capitalize in these cases... 馃

@leo Interesting, I prefer the opposite. Feel like serve being a proprietary name itself is more important than it being at the beginning of the sentence. 馃槈

Running serve 2.0.0 on Node 7.0.0

^ this might fix both your arguments 馃槣

I would just show

Powered by Serve

IMO the user shouldn't care about the port (which is in the URL) or node version. Linking the name Serve to the github page should be enough if they are curious about it.

Another idea:

Showing nothing would bother less in 99% of the page views. For those who are interested, we can respond with a Server header or https://github.com/zeit/serve.

Yea let's hide this shit and hand the web a present! + Header 鉂わ笍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Simran-B picture Simran-B  路  4Comments

ghost picture ghost  路  7Comments

Olexiy665 picture Olexiy665  路  3Comments

leo picture leo  路  5Comments

nermin99 picture nermin99  路  3Comments