mirror of
https://github.com/minoplhy/chibisafe-netproxy.git
synced 2024-12-22 10:08:08 +00:00
chibisafe_netstorage_middleman : remove unused dependencies
This commit is contained in:
parent
279989fc90
commit
62a93be0fb
2
go.sum
2
go.sum
@ -1,2 +0,0 @@
|
||||
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
|
||||
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
|
6
main.go
6
main.go
@ -7,7 +7,6 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
"github.com/minoplhy/chibisafe_netstorage_middleman/src/handler"
|
||||
)
|
||||
|
||||
@ -92,11 +91,6 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
err := godotenv.Load()
|
||||
if err != nil {
|
||||
log.Fatal("Cannot load .env file!")
|
||||
}
|
||||
|
||||
Chibisafe_basepath := os.Getenv("CHIBISAFE_BASEPATH")
|
||||
Host := os.Getenv("HOST")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user