use comma separated values in application.yml
corsHostsAllow: http://foo1/, http://foo2/, http://foo3/
java code for access
@Value("${corsHostsAllow}")
String[] corsHostsAllow
I tried and succeeded 😉
use comma separated values in application.yml
corsHostsAllow: http://foo1/, http://foo2/, http://foo3/
java code for access
@Value("${corsHostsAllow}")
String[] corsHostsAllow
I tried and succeeded 😉