Commit 9e94e252 by 墨竹

fix:允许跨域

parent 902c952a
...@@ -107,6 +107,8 @@ ...@@ -107,6 +107,8 @@
allowed-headers="*" allowed-headers="*"
allowed-origins="*" allowed-origins="*"
allowed-methods="GET,POST,PUT,DELETE,OPTIONS" allowed-methods="GET,POST,PUT,DELETE,OPTIONS"
allow-credentials="true"
max-age="3600"
/> />
</mvc:cors> </mvc:cors>
</beans> </beans>
\ No newline at end of file
...@@ -107,6 +107,8 @@ ...@@ -107,6 +107,8 @@
allowed-headers="*" allowed-headers="*"
allowed-origins="*" allowed-origins="*"
allowed-methods="GET,POST,PUT,DELETE,OPTIONS" allowed-methods="GET,POST,PUT,DELETE,OPTIONS"
allow-credentials="true"
max-age="3600"
/> />
</mvc:cors> </mvc:cors>
......
...@@ -100,6 +100,8 @@ ...@@ -100,6 +100,8 @@
allowed-headers="*" allowed-headers="*"
allowed-origins="*" allowed-origins="*"
allowed-methods="GET,POST,PUT,DELETE,OPTIONS" allowed-methods="GET,POST,PUT,DELETE,OPTIONS"
allow-credentials="true"
max-age="3600"
/> />
</mvc:cors> </mvc:cors>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment