mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Git add CORS
This commit is contained in:
parent
1acf84de3f
commit
5c201d40df
@ -22,6 +22,11 @@
|
|||||||
<bean id="requestInterceptor" class="com.wisemapping.filter.RequestPropertiesInterceptor"/>
|
<bean id="requestInterceptor" class="com.wisemapping.filter.RequestPropertiesInterceptor"/>
|
||||||
</mvc:interceptors>
|
</mvc:interceptors>
|
||||||
|
|
||||||
|
<mvc:cors>
|
||||||
|
<mvc:mapping path="/**"
|
||||||
|
allowed-origins="https://app.wisemapping.com, https://static-app.wisemapping.com/"/>
|
||||||
|
</mvc:cors>
|
||||||
|
|
||||||
<bean id="exceptionHandlerResolver"
|
<bean id="exceptionHandlerResolver"
|
||||||
class="com.wisemapping.mail.NotifyingExceptionResolver">
|
class="com.wisemapping.mail.NotifyingExceptionResolver">
|
||||||
<property name="defaultStatusCode" value="500"/>
|
<property name="defaultStatusCode" value="500"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user