Skip to content

包中代码需要做兼容处理 #8

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

Open
tnnevol opened this issue Oct 24, 2020 · 0 comments
Open

包中代码需要做兼容处理 #8

tnnevol opened this issue Oct 24, 2020 · 0 comments

Comments

@tnnevol
Copy link

tnnevol commented Oct 24, 2020

{
"koa": "^2.7.0",
}
if (pathToRegexp(route).test(path)) {
        await k2c(httpProxy(targets[route]))(ctx, next);
        break;
      }
// 应该是koa2 做了更新使用path去匹配 全部为false 导致需要代理的全部被过滤了
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

1 participant