按生产环境的SafetyFilter保存
This commit is contained in:
parent
7d789e29c7
commit
0d0a7680d9
|
|
@ -97,7 +97,7 @@ public class SafetyFilter implements Filter {
|
||||||
String contextPath = request.getContextPath();
|
String contextPath = request.getContextPath();
|
||||||
String url = requestUri.substring(contextPath.length());
|
String url = requestUri.substring(contextPath.length());
|
||||||
String referer = request.getHeader("Referer");
|
String referer = request.getHeader("Referer");
|
||||||
if (environment != null && StringUtils.equals(environment.getProperty("spring.profiles.active"), "prod73")) {
|
if (environment != null && StringUtils.equals(environment.getProperty("spring.profiles.active"), "prod129")) {
|
||||||
chain.doFilter(request, response);
|
chain.doFilter(request, response);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue