Improve greeting
This commit is contained in:
parent
30edfb1209
commit
fbf378547e
|
@ -12,19 +12,23 @@ func PrepareGreeting() {
|
||||||
`Welcome to tusd
|
`Welcome to tusd
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Congratulations for setting up tusd! You are now part of the chosen elite and
|
Congratulations on setting up tusd! Thanks for joining our cause, you have taken
|
||||||
able to experience the feeling of resumable uploads! We hope you are as excited
|
the first step towards making the future of resumable uploading a reality! We
|
||||||
as we are (a lot)!
|
hope you are as excited about this as we are!
|
||||||
|
|
||||||
However, there is something you should be aware of: While you got tusd
|
While you did an awesome job on getting tusd running, this is just the welcome
|
||||||
running (you did an awesome job!), this is the root directory of the server
|
message, so let's talk about the places that really matter:
|
||||||
and tus requests are only accepted at the %s route.
|
|
||||||
|
|
||||||
So don't waste time, head over there and experience the future!
|
- %s - send your tus uploads to this endpoint
|
||||||
|
- %s - gather statistics to keep tusd running smoothly
|
||||||
|
- https://github.com/tus/tusd/issues - report your bugs here
|
||||||
|
|
||||||
|
So quit lollygagging, send over your files and experience the future!
|
||||||
|
|
||||||
Version = %s
|
Version = %s
|
||||||
GitCommit = %s
|
GitCommit = %s
|
||||||
BuildDate = %s`, Flags.Basepath, VersionName, GitCommit, BuildDate)
|
BuildDate = %s
|
||||||
|
`, Flags.Basepath, Flags.MetricsPath, VersionName, GitCommit, BuildDate)
|
||||||
}
|
}
|
||||||
|
|
||||||
func DisplayGreeting(w http.ResponseWriter, r *http.Request) {
|
func DisplayGreeting(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Loading…
Reference in New Issue