@@ -275,7 +275,7 @@ public class AuthGatewayFilterFactory extends AbstractGatewayFilterFactory<HostL
if (!cookieName.isEmpty()) tokenName = cookieName;
ResponseCookie cookie = ResponseCookie.from(tokenName, token)
.httpOnly(false)
-// .path("/")
+ .path("/")
// .maxAge(authInfo.getMaxAge())
.domain(authInfo.getCookieDomain())
.build();
@@ -939,8 +939,8 @@ spring:
- StripPrefix=1
- name: Auth
args:
- # authResponse401: true
- # auth: ${auths-name.ywt-mg}
+ uthResponse401: true
+ auth: ${auths-name.ywt-mg}
timeout: 90
# 营养餐接口
- id: mg-qa-nutrimeal