Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件名与egg的API重名了,建议换个变量名 #13

Open
Yann-LiuZY opened this issue Jun 3, 2020 · 1 comment
Open

插件名与egg的API重名了,建议换个变量名 #13

Yann-LiuZY opened this issue Jun 3, 2020 · 1 comment

Comments

@Yann-LiuZY
Copy link

egg的前置代理模式是通过exports.proxy = true;开启的,和插件正好是同一个变量名。也就是说开启插件后,相当于默认开启了egg的前置代理模式,这样子蛮危险的,建议修改一下

详情可见egg的前置代理模式

@mickeyinfoshan
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants