Use a copy to avoid writing content security policy into settings['headers'], which can be a problem because APIHandlers have a stricter CSP than page handlers. If an API request is made before the first page request, pages will fail to load due to CSP violations.
parent
f81fb46ff6
commit
fb7ee6f348
Loading…
Reference in new issue