token-validator: use go-bindata to embedded static assets
This commit is contained in:
parent
37acc213b7
commit
867b4ef194
7 changed files with 75 additions and 14 deletions
|
|
@ -57,7 +57,6 @@ func main() {
|
|||
var bind = flag.String("bind", ":8081", "Bind port/socket")
|
||||
var dsn = flag.String("dsn", DSNGenerator(), "DSN to connect to the MySQL server")
|
||||
var baseURL = flag.String("baseurl", "/", "URL prepended to each URL")
|
||||
flag.StringVar(&StaticDir, "static", "./htdocs/", "Directory containing static files")
|
||||
flag.StringVar(&sharedSecret, "sharedsecret", "adelina", "secret used to communicate with remote validator")
|
||||
flag.StringVar(&AuthorizedKeyLocation, "authorizedkeyslocation", Authorizedkeyslocation, "File for allowing user to SSH to the machine")
|
||||
flag.Parse()
|
||||
|
|
|
|||
Reference in a new issue