diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:04:11 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:04:11 +0530 |
commit | 5ea7cae973e8329ae768c35bda41e656f974815d (patch) | |
tree | d7ce04c820c585e3604f91385beb8090f9dffc4c /main.go | |
parent | 60298a69538ccdda417613a09e5acbd917bfc53a (diff) | |
download | legit-5ea7cae973e8329ae768c35bda41e656f974815d.tar.gz legit-5ea7cae973e8329ae768c35bda41e656f974815d.tar.bz2 legit-5ea7cae973e8329ae768c35bda41e656f974815d.zip |
unveil: init
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ func main() { log.Fatal(err) } + // for path := range []string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates} { + // Unveil(path, "r") + // } + mux := routes.Handlers(c) addr := fmt.Sprintf("%s:%d", c.Server.Host, c.Server.Port) log.Println("starting server on", addr) |