Skip to content

prod env enable degub mode? #690

Description

@griffenliu

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • [+] Bug
  • Requirements
  • Feature or performance improvement
  • Other

Bug

  • Which version of Apache APISIX Dashboard, OS, and Browser?
    2.0
  • What happened?
    prod env enable degub mode?
func SetUpRouter() *gin.Engine {
	if conf.ENV != conf.EnvLOCAL && conf.ENV != conf.EnvBETA {
		gin.SetMode(gin.DebugMode)
	} else {
		gin.SetMode(gin.ReleaseMode)
	}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions