Skip to content

Commit

Permalink
fix: port host and logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sreehari2003 committed Dec 30, 2023
1 parent fee4fa6 commit e80544a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"fmt"
"log"
"os"

Expand Down Expand Up @@ -56,6 +57,7 @@ func main() {

// CORS

fmt.Println("Server is running on", host+":"+PORT)
router.Run(host + ":" + PORT)
// use ginSwagger middleware to serve the API docs
}

1 comment on commit e80544a

@vercel
Copy link

@vercel vercel bot commented on e80544a Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

suraksha – ./

suraksha-git-main-sreehari2003.vercel.app
suraksha.vercel.app
suraksha-sreehari2003.vercel.app

Please sign in to comment.