mirror of
https://github.com/Carve/qbittorrent-webui-cjratliff.com.git
synced 2025-02-28 23:50:57 +01:00
Update README.md
Added optional installation step to add CSP header.
This commit is contained in:
parent
ee028ee666
commit
7bb5fff7d6
@ -9,6 +9,12 @@ First, you need to download a copy of the latest release (or clone / download th
|
||||
- [ ] Under Tools->Preferences->WebUI enable Use alternative WebUI.
|
||||
- [ ] Choose a location that points to `/path/to/qbittorrent-webui-cjratliff.com`
|
||||
- [ ] Restart qBittorrent or refresh your browser for changes to take effect.
|
||||
- [ ] *Optional* Add content-security-policy headers under Tools->Preferences->WebUI > Add custom HTTP headers
|
||||
|
||||
`content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline' raw.githubusercontent.com use.fontawesome.com; img-src 'self' theme-park.dev raw.githubusercontent.com data:; script-src 'self' 'unsafe-inline'; object-src 'self'; form-action 'self'; frame-ancestors 'self'; font-src 'self' use.fontawesome.com;`
|
||||
|
||||

|
||||
|
||||
|
||||
You can also change these settings via the config file. The relevant entries are:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user