• Jesse Hallam's avatar
    MM-14194: fix subpath csp directive until server restart (#10365) · 4f259970
    Jesse Hallam authored
    * MM-14194: fix subpath csp directive until server restart
    
    The SiteURL organically doesn't take effect until server restart, but in v5.8, the required CSP directive would change immediately. If changing from one subpath to another, the webapp would effectively be bricked until a server restart.
    
    Avoid this by determining the CSP directive when the static handler is created.
    
    * simplify access to config
    4f259970
handlers.go 6.78 KB