You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/guide-cors-support.asciidoc
+49-5
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ toc::[]
3
3
4
4
= CORS support
5
5
6
-
When you are developing Javascript client and server application separately, you have to deal with cross domain issues. We have to request from a origin domain distinct to target domain and browser does not allow this.
6
+
When you are developing Javascript client and server application separately, you have to deal with cross domain issues. We have to request from a origin domain distinct to target domain and browser does not allow this.
7
7
8
8
So , we need to prepare server side to accept request from other domains. We need to cover the following points:
9
9
@@ -17,12 +17,56 @@ It is important to note that if you are using security in your request (sending
17
17
18
18
== Configuring CORS support
19
19
20
-
On the server side we have defined a new filter in Spring security chain filters to support CORS and we have configured devonfw security chain filter to use it.
20
+
=== Dependency
21
21
22
-
You only have to change `CORSDisabled` property value in `application-default.properties` properties file.
22
+
To enable the CORS support from the server side add the below dependency.
0 commit comments