Commit f9eec7a3bbd376093054ed8733912fd81a91de53
1 parent
5342965e93
Exists in
master
and in
6 other branches
update web.xml
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/webapp/WEB-INF/web.xml
View file @
f9eec7a
... | ... | @@ -14,6 +14,7 @@ |
14 | 14 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> |
15 | 15 | <!--start跨域开始--> |
16 | 16 | |
17 | + <!-- | |
17 | 18 | <filter> |
18 | 19 | <filter-name>CorsFilter</filter-name> |
19 | 20 | <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> |
... | ... | @@ -46,6 +47,7 @@ |
46 | 47 | <filter-name>CorsFilter</filter-name> |
47 | 48 | <url-pattern>/*</url-pattern> |
48 | 49 | </filter-mapping> |
50 | +--> | |
49 | 51 | |
50 | 52 | <!--end跨域结束--> |
51 | 53 |