apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

prod env enable degub mode?

Open griffenliu opened this issue 6 years ago • 4 comments

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)
	}

griffenliu avatar Nov 04 '20 09:11 griffenliu

Please forgive me, I don’t understand the question very well, can you provide more information?

idbeta avatar Nov 04 '20 10:11 idbeta

This issue should cc @nic-chen

juzhiyuan avatar Nov 04 '20 15:11 juzhiyuan

that's a bug. let's fix it in 2.0

nic-chen avatar Nov 04 '20 23:11 nic-chen

fixed.

nic-chen avatar Nov 06 '20 04:11 nic-chen