changed logger

alpha
alex 2023-02-17 22:55:28 +01:00
parent c209fd61e7
commit c5565114bf
1 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@
package main package main
import ( import (
"log"
"os" "os"
"clickandjoin.app/storageserver/modules/config" "clickandjoin.app/storageserver/modules/config"
@ -49,7 +48,7 @@ func main() {
router.SetupRoutes(app) router.SetupRoutes(app)
if len(os.Args) < 2 { if len(os.Args) < 2 {
log.Fatalln("Please specify port") gocnjhelper.LogFatal("Please specify port")
} }
app.Listen("127.0.0.1:" + os.Args[1]) app.Listen("127.0.0.1:" + os.Args[1])