adds CDN host option with corresponding csp headers
if App::$config['system']['script_path_use_cdn'] is present in .htconfig.php it returns that string in function script_path() (src/Lib/Head.php)
also adds cdn host to $cspsettings array under "security headers" in boot.php
cdnhost #43
wago/forte:cdnhost into dev @wago
I would like to see the setting with the comments in install/htconfig.sample.php, with the setting commented out by default. The code itself should be good without comments then.
Can't comment on the logic. I guess if it works for you, it should be fine.
ok - updated the sample config. it's working with CDN on my Forte instance.
please wait a bit to merge, i want to verify there is no issue with cookies
Bump. If this is working ok for you, will merge. If not, let's close it.
Oh never mind. As long as it's optional, I don't see any harm in putting it in a config. Will merge.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?