java - Add All Sub domain name on crosssorigin -


i have list of subdomain abc.sitename.com, xyz.sitename.com, pqr.sitename.com, etc. wondering can add *.sitename.com in cross-origin tag.

@crossorigin(origins={"http://*.sitename.com"}) 

i using spring boot. having cross-origin issue able resolve using @crossorigin tag, have 55 sub-domain going access restful service.

do have use regular expression this.? if how can write inside @crossorigin annotation.?


Comments

Popular posts from this blog

javascript - Access directive function from component class or template -

python - Evaluating the next line in a For Loop while in the current iteration -

php - Auto increment employee ID -