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

生成代码无法访问到数据库表? #9

Open
isGov opened this issue Jun 17, 2024 · 1 comment
Open

生成代码无法访问到数据库表? #9

isGov opened this issue Jun 17, 2024 · 1 comment

Comments

@isGov
Copy link

isGov commented Jun 17, 2024

后台报错 ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
at Object.xForwardedForHeader (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:166:13)
at Object.wrappedValidations. [as xForwardedForHeader] (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:324:22)
at Object.keyGenerator (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:579:20)
at D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:629:32
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:611:5 {
code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'

@taozhi1010
Copy link
Owner

已修复

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