mozilla / fx-private-relay

Keep your email safe from hackers and trackers. Make an email alias with 1 click, and keep your address to yourself.
https://relay.firefox.com
Other
1.44k stars 168 forks source link

MPP-3834: Allow inline script, but keep API docs from requiring them #4823

Open jwhitlock opened 3 days ago

jwhitlock commented 3 days ago

I was half-right on PR #4819. There is a _CSP_SCRIPT_INLINE to allow inline scripts, which we have enabled for the API docs. However, the FAQ suggests SpectacularSwaggerSplitView could be used to avoid the inline script.

This PR brings back allowing inline scripts, but only for silk. It switches the docs to use the alternate view.

How to test: