mirror of
https://github.com/yudai/gotty.git
synced 2026-04-18 10:09:03 +02:00
Add 'Server' HTTP header with current GoTTY version
$ curl -I http://gotty.server/ HTTP/1.1 200 OK Accept-Ranges: bytes Content-Length: 407 Content-Type: text/html; charset=utf-8 Last-Modified: Fri, 02 Oct 2015 08:04:28 GMT Server: GoTTY/0.0.10 Date: Fri, 02 Oct 2015 08:04:28 GMT
This commit is contained in:
parent
096f77c780
commit
f75cc9771a
2 changed files with 12 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
func main() {
|
||||
cmd := cli.NewApp()
|
||||
cmd.Version = "0.0.10"
|
||||
cmd.Version = app.Version
|
||||
cmd.Name = "gotty"
|
||||
cmd.Usage = "Share your terminal as a web application"
|
||||
cmd.HideHelp = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue