Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Added http:// to server address in log to make it clickable #994

Merged
merged 2 commits into from
Mar 26, 2018
Merged

Added http:// to server address in log to make it clickable #994

merged 2 commits into from
Mar 26, 2018

Conversation

forrest321
Copy link
Contributor

Enhancement: After starting a server, it would be nice to be able to click the server address in the console to open a browser. Adding http:// before the address in the current log output will make it clickable in some IDE's, and easier to copy & paste in others.

This is an edit to a line of logs, so it could be considered a content or documentation change. I'm not sure there is an easily accessible way to write unit tests.

Copy link
Member

@markbates markbates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to check that it doesn’t already start with http, as it’s an option that people can configure. Other than that, good idea! :)

@markbates markbates modified the milestones: 0.11.0, 0.11.1 Mar 26, 2018
@forrest321
Copy link
Contributor Author

linkfix

@markbates markbates merged commit 10e38c5 into gobuffalo:development Mar 26, 2018
@markbates
Copy link
Member

Brilliant. Thanks!

@forrest321 forrest321 deleted the features/make_server_clickable_in_log branch April 23, 2018 20:51
stanislas-m pushed a commit that referenced this pull request May 12, 2018
* Added http:// to server address to make it clickable

* Updated previous change to use Options.Host which provides formatted URL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants