Commit 72f473d2ed4baf7b943988cae0a241b29b466332
1 parent
85bde24f7b
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 0 additions and 34 deletions
platform-operate-api/src/main/webapp/WEB-INF/web.xml
View file @
72f473d
| ... | ... | @@ -89,40 +89,6 @@ | 
| 89 | 89 | </servlet-mapping> | 
| 90 | 90 | |
| 91 | 91 | <filter> | 
| 92 | - <filter-name>CorsFilter</filter-name> | |
| 93 | - <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> | |
| 94 | - <init-param> | |
| 95 | - <param-name>cors.allowed.origins</param-name> | |
| 96 | - <param-value>*</param-value> | |
| 97 | - </init-param> | |
| 98 | - <init-param> | |
| 99 | - <param-name>cors.allowed.methods</param-name> | |
| 100 | - <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value> | |
| 101 | - </init-param> | |
| 102 | - <init-param> | |
| 103 | - <param-name>cors.allowed.headers</param-name> | |
| 104 | - <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,authorization</param-value> | |
| 105 | - </init-param> | |
| 106 | - <init-param> | |
| 107 | - <param-name>cors.exposed.headers</param-name> | |
| 108 | - <param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials</param-value> | |
| 109 | - </init-param> | |
| 110 | - <init-param> | |
| 111 | - <param-name>cors.support.credentials</param-name> | |
| 112 | - <param-value>true</param-value> | |
| 113 | - </init-param> | |
| 114 | - <init-param> | |
| 115 | - <param-name>cors.preflight.maxage</param-name> | |
| 116 | - <param-value>10</param-value> | |
| 117 | - </init-param> | |
| 118 | - </filter> | |
| 119 | - <filter-mapping> | |
| 120 | - <filter-name>CorsFilter</filter-name> | |
| 121 | - <url-pattern>/*</url-pattern> | |
| 122 | - </filter-mapping> | |
| 123 | - | |
| 124 | - | |
| 125 | - <filter> | |
| 126 | 92 | <filter-name>perfFilter</filter-name> | 
| 127 | 93 | <filter-class>com.lyms.platform.common.perf.SimpleHttpPerfFilter</filter-class> | 
| 128 | 94 | <init-param> |