Michitomo Nakahara opened SPR-14010 and commented
Parameter "origins" of @CrossOrigin should be changeable using placeholder.
@CrossOrigin("${cors.allowed.urls}")
@RequestMapping("${endpoint}") //This works
@ResponseBody
public String xhrEndpoint() {
}
Affects: 4.2.5
Referenced from: commits 8852a5e
2 votes, 3 watchers