login.vue 的 DID 扫码登录轮询(每 2s 一次)打 GET /sso/did/pub/backresult/login?reqId=xxx 查扫码结果。 老栈 target = https://www.cciw.com.cn (生产), 本地的 reqId 在生产查不到,cookie 里的 admin/admin123 也跟 生产不匹配,结果轮询一直返回"密码错误"。 跟 BUG-C 一样的修法:vue.config.js 新增 '^/sso/did/pub' 代理 (target = http://localhost:8080, pathRewrite: /sso/did/pub -> /auth/did/pub), 把请求改写到新栈 8080 gateway 的 /auth/did/pub/**。nacos 白名单里 这个接口是开放的。 这条规则必须放在 '^/sso' 之前,否则会被广匹配的 '^/sso' 截走, 再次落到生产。 |
||
|---|---|---|
| .. | ||
| .claude | ||
| devops | ||
| docs | ||
| mock | ||
| public | ||
| src | ||
| tests/unit | ||
| .browserslistrc | ||
| .commitlintrc.js | ||
| .cz-config.js | ||
| .env | ||
| .env.development | ||
| .env.production | ||
| .env.test | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| .stylelintrc.json | ||
| .yarnrc | ||
| babel.config.js | ||
| Dockerfile | ||
| env.multiple-deploy | ||
| jsconfig.json | ||
| nginx.conf | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.js | ||
| proxy.js | ||
| README.md | ||
| stylelint.config.js | ||
| vue.config.js | ||