diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,6 +53,8 @@ func main() { rand.Seed(time.Now().UnixNano()) + initWebsite() + storage = NewStorage("upload", *maxSize) storage.ForbiddenExt = strings.Split(*forbidExt, ",") storage.ForbiddenMime = strings.Split(*forbidMime, ",") @@ -67,8 +69,6 @@ func main() { http.HandleFunc("/grill.php", handleGrill) } - initWebsite() - if uploadUrl == "" { if *listenHttps != "" { if uploadHost != "" { |