Git add CORS

main
Paulo Gustavo Veiga 2022-03-06 20:47:45 -08:00
parent 1acf84de3f
commit 5c201d40df
1 changed files with 5 additions and 0 deletions

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