File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11IMAGE = labstack/armor
2- VERSION = 0.4.10
2+ VERSION = 0.4.11
33
44run :
55 go run cmd/armor/main.go
Original file line number Diff line number Diff line change 30643064 statuses ">= 1.3.1 < 2"
30653065
30663066http-parser-js@>=0.4.0 :
3067- version "0.4.10 "
3067+ version "0.4.11 "
30683068 resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4"
30693069
30703070http-proxy-middleware@~0.17.4 :
Original file line number Diff line number Diff line change 9292)
9393
9494const (
95- Version = "0.4.10 "
95+ Version = "0.4.11 "
9696 Website = "https://armor.labstack.com"
9797)
9898
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ func initConfig() {
9797 }
9898
9999 // Config
100+ if configFile == "" {
101+ configFile = filepath .Join (a .HomeDir , "config.yaml" )
102+ }
100103 data , err := ioutil .ReadFile (configFile )
101104 if err != nil {
102105 a .DefaultConfig = true
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Type `armor` in your terminal
4444 ___
4545 / _ | ______ _ ___ ____
4646 / __ | / __/ ' \/ _ \/ __/
47- /_/ |_/_/ /_/_/_/\___/_/ v0.4.10
47+ /_/ |_/_/ /_/_/_/\___/_/ v0.4.11
4848
4949Uncomplicated, modern HTTP server
5050https://armor.labstack.com
You can’t perform that action at this time.
0 commit comments