Removed err check halting program

This commit is contained in:
2023-07-21 18:26:53 +01:00
parent 02b69b8cdf
commit d5cae327f3
2 changed files with 1 additions and 2 deletions

BIN
main

Binary file not shown.

View File

@@ -221,8 +221,7 @@ func main() {
})
router.Static("/frontend", "./frontend")
err := router.Run("localhost:8080")
checkErr(err)
router.Run("localhost:8080")
}
func checkErr(err error) {