From 3a1e044b6d7d4be780bc8c4a91848a109fbdb62d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Feb 2022 22:48:05 +0400 Subject: [PATCH] Clean up the code a little. --- cmd/dwelling-upload/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/dwelling-upload/main.go b/cmd/dwelling-upload/main.go index acac32e..bf0a932 100644 --- a/cmd/dwelling-upload/main.go +++ b/cmd/dwelling-upload/main.go @@ -95,7 +95,6 @@ func main() { srv := server.NewHttpServer() srv.SetNotFoundHandler(hand.NotFound) - // srv.ServeStatic("/assets/*filepath", http.Dir(config.WebDir+"/assets")) srv.ServeStatic("/assets/*filepath", hand.AssetsFS()) srv.GET("/", hand.Index) srv.POST("/", hand.Upload) @@ -131,5 +130,4 @@ func main() { }() <-closeSignal - }