improve debug
parent
951e1fa68a
commit
e083313779
2
main.go
2
main.go
|
|
@ -40,7 +40,7 @@ func main() {
|
||||||
|
|
||||||
app.Use(logger.New(logger.Config{
|
app.Use(logger.New(logger.Config{
|
||||||
// Output: file,
|
// Output: file,
|
||||||
Format: "[${ip}]:${port} ${status} - ${method} ${path}\n",
|
Format: "[${ip}]:${port} ${status} - ${method} ${path} ${reqHeaders}\n",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
app.Use(cors.New(cors.Config{
|
app.Use(cors.New(cors.Config{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue