DATAREST-1351 - URL Cleanup.
This commit is contained in:
@@ -80,7 +80,7 @@ public class RepositoryCorsConfigurationAccessorUnitTests {
|
||||
assertThat(configuration.getAllowCredentials()).isTrue();
|
||||
assertThat(configuration.getAllowedHeaders()).contains("Content-type");
|
||||
assertThat(configuration.getExposedHeaders()).contains("Accept");
|
||||
assertThat(configuration.getAllowedOrigins()).contains("http://far.far.away");
|
||||
assertThat(configuration.getAllowedOrigins()).contains("http://far.far.example");
|
||||
assertThat(configuration.getAllowedMethods()).contains("PATCH");
|
||||
assertThat(configuration.getAllowedMethods()).doesNotContain("DELETE");
|
||||
assertThat(configuration.getAllowCredentials()).isTrue();
|
||||
@@ -102,7 +102,7 @@ public class RepositoryCorsConfigurationAccessorUnitTests {
|
||||
@CrossOrigin
|
||||
interface AnnotatedRepository {}
|
||||
|
||||
@CrossOrigin(origins = "http://far.far.away", //
|
||||
@CrossOrigin(origins = "http://far.far.example", //
|
||||
allowedHeaders = "Content-type", //
|
||||
maxAge = 1234, exposedHeaders = "Accept", //
|
||||
methods = RequestMethod.PATCH, //
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
Reference in New Issue
Block a user