You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we start the quick server, we have a wrong address in the console
for example
funcmain() {
// Initialize a new Quick instanceq:=quick.New()
q.Get("/", func(c*quick.Ctx) error {
c.Set("Content-Type", "application/json")
returnc.Status(200).JSON(map[string]string{"message": "Quick in action ❤️!"})
})
/// Start the server on port 8080q.Listen(":4000")
}
we see in the console this url:
Quick v0.0.1 🚀 Fast & Minimal Web Framework
─────────────────── ───────────────────────────────
🌎 Host : http://127.0.0.1::4000
📌 Port : :4000
🔀 Routes: 1
and for this example of server:
funcmain() {
// Initialize a new Quick instanceq:=quick.New()
q.Get("/", func(c*quick.Ctx) error {
c.Set("Content-Type", "application/json")
returnc.Status(200).JSON(map[string]string{"message": "Quick in action ❤️!"})
})
/// Start the server on port 8080q.Listen("0.0.0.0:4000")
}
we have this value in console:
Quick v0.0.1 🚀 Fast & Minimal Web Framework
─────────────────── ───────────────────────────────
🌎 Host : http://127.0.0.1:0.0.0.0:4000
📌 Port : 0.0.0.0:4000
🔀 Routes: 1
When we start the
quick
server, we have a wrong address in the consolefor example
we see in the console this url:
and for this example of server:
we have this value in console:
the PR has made here #132
The text was updated successfully, but these errors were encountered: