Main project #1

Merged
raul merged 33 commits from testing into main 2024-06-14 07:49:34 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 53e4b1acf9 - Show all commits

View File

@ -16,7 +16,7 @@ func server() {
router := gin.Default() router := gin.Default()
router.GET("/api/valencia", returnWeather) router.GET("/api/valencia", returnWeather)
fmt.Printf("Listening on port %v...\n", listenPort) fmt.Printf("Listening on port %v...\n", listenPort)
router.Run("localhost:" + listenPort) router.Run(":" + listenPort)
} }
func returnWeather(c *gin.Context) { func returnWeather(c *gin.Context) {