Fix pathing with relative non-single-depth root

This commit is contained in:
Bel LaPointe
2019-11-14 11:14:57 -07:00
parent 7964518d36
commit e6f63a578f
4 changed files with 100 additions and 35 deletions

View File

@@ -29,7 +29,7 @@ func Refresh() {
as := args.NewArgSet()
as.Append(args.STRING, "root", "root dir path", "./public")
as.Append(args.STRING, "port", "port to listen on", "39909")
as.Append(args.STRING, "port", "port to listen on", "49909")
as.Append(args.STRING, "wrap", "file with http header/footer", "./wrapper.html")
as.Append(args.STRING, "oauth", "oauth URL", "")
if err := as.Parse(); err != nil {