Git add CORS

This commit is contained in:
Paulo Gustavo Veiga 2022-03-06 20:47:45 -08:00
parent 1acf84de3f
commit 5c201d40df

View File

@ -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"/>