Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

config 中的 debug 配置在 local 环境下不生效 #25

Closed
o-w-o opened this issue Oct 14, 2019 · 1 comment
Closed

config 中的 debug 配置在 local 环境下不生效 #25

o-w-o opened this issue Oct 14, 2019 · 1 comment

Comments

@o-w-o
Copy link

o-w-o commented Oct 14, 2019

问题定位

/config/knex.js 文件

    if (app.config.env === 'local') {
      config.debug = config.debug || true;
    }

貌似永远不会为 false 😂

@sunfuze
Copy link
Owner

sunfuze commented Oct 31, 2019

确实呢~~

@sunfuze sunfuze closed this as completed Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants