chore: 生产环境移除demo plugin

This commit is contained in:
xiaojunnuo
2024-09-29 15:00:17 +08:00
parent 51f29d6093
commit 15f44e64f7
3 changed files with 13 additions and 9 deletions
@@ -41,4 +41,7 @@ export class DemoAccess implements IAccess {
demoKeySecret = '';
}
new DemoAccess();
if (process.env.NODE_ENV === 'development') {
//你的实现 要去掉这个if,不然生产环境将不会显示
new DemoAccess();
}