mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-22 11:33:47 +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"/>
|
||||
</mvc:interceptors>
|
||||
|
||||
<mvc:cors>
|
||||
<mvc:mapping path="/**"
|
||||
allowed-origins="https://app.wisemapping.com, https://static-app.wisemapping.com/"/>
|
||||
</mvc:cors>
|
||||
|
||||
<bean id="exceptionHandlerResolver"
|
||||
class="com.wisemapping.mail.NotifyingExceptionResolver">
|
||||
<property name="defaultStatusCode" value="500"/>
|
||||
|
Loading…
Reference in New Issue
Block a user