mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
parent
5d273c037a
commit
14f563572d
@ -1 +1 @@
|
|||||||
b4e84fb2d89a335e6fe159a3e995a1daff218132
|
9ec07e7f240432f5f3afd17d589c8a83c4501f67
|
2
main.go
2
main.go
@ -23,7 +23,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
pathToData = c.GlobalString("data")
|
pathToData = c.GlobalString("data")
|
||||||
os.MkdirAll(pathToData, 0755)
|
os.MkdirAll(pathToData, 0755)
|
||||||
fmt.Printf("\nRunning CowYo at http://%s:%s\n\n", GetLocalIP(), c.GlobalString("port"))
|
fmt.Printf("\nRunning cowyo server (version %s) at http://%s:%s\n\n", version, GetLocalIP(), c.GlobalString("port"))
|
||||||
serve(c.GlobalString("port"))
|
serve(c.GlobalString("port"))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user