Open hloeung opened 7 months ago
@javierdelapuente Can you have a look if this is feasible and create a ticket in the backlog, please?
@javierdelapuente There is also https://warthogs.atlassian.net/browse/ISD-1817, I was not aware that all issues in this repo are synced to jira. Sorry about that.
Enhancement Proposal
Hi,
I think it would be nice to automatically include the configured
external_hostname
&s3_cdn_url
in the CORS origin (cors_origin
).Currently,
cors_origin
is configurable so we can set that to include both, but it would be nice if the charm would automatically do this for us. This reduces the chance of human error where updating the other settings would make it less of an issue or miss updatingcors_origin
.For
external_hostname
, I think it would need to take into accountforce_https
to see if it should addhttps://
or justhttp://
.For
s3_cdn_url
, it would add it as is.