| Line 66... |
Line 66... |
| 66 |
registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
|
66 |
registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
|
| 67 |
}
|
67 |
}
|
| 68 |
|
68 |
|
| 69 |
@Override
|
69 |
@Override
|
| 70 |
public void addInterceptors(InterceptorRegistry registry) {
|
70 |
public void addInterceptors(InterceptorRegistry registry) {
|
| - |
|
71 |
registry.addInterceptor(simpleCORSInterceptor)
|
| - |
|
72 |
.addPathPatterns("/**")
|
| - |
|
73 |
.excludePathPatterns("/swagger-ui.html",
|
| - |
|
74 |
ProfitMandiConstants.URL_PAYU_PAY_RESPONSE,
|
| - |
|
75 |
ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
|
| - |
|
76 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE,
|
| 71 |
registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html", ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED);
|
77 |
ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED);
|
| - |
|
78 |
|
| 72 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN)
|
79 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
| - |
|
80 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN)
|
| 73 |
.excludePathPatterns("/**/swagger*/**").excludePathPatterns("/v2/**").excludePathPatterns("/document")
|
81 |
.excludePathPatterns("/**/swagger*/**").excludePathPatterns("/v2/**").excludePathPatterns("/document")
|
| 74 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
82 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
| 75 |
.excludePathPatterns("/store/token")
|
83 |
.excludePathPatterns("/store/token")
|
| 76 |
.excludePathPatterns("/gc/**");
|
84 |
.excludePathPatterns("/gc/**");
|
| 77 |
|
85 |
|