mirror of
https://github.com/minio/minio.git
synced 2025-02-23 11:32:32 -05:00
Fix browser UI animation (#19966)
Browse UI is not showing the animation because the default content-security-policy do not trust the file https://unpkg.com/detect-gpu@5.0.38/dist/benchmarks/d-apple.json the GPU library needs to identify if the web browser can play it.
This commit is contained in:
parent
3415c4dd1e
commit
70078eab10
@ -51,7 +51,7 @@ var (
|
||||
DefaultKVS = config.KVS{
|
||||
config.KV{
|
||||
Key: browserCSPPolicy,
|
||||
Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
|
||||
Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline'; script-src 'self' https://unpkg.com; connect-src 'self' https://unpkg.com;",
|
||||
},
|
||||
config.KV{
|
||||
Key: browserHSTSSeconds,
|
||||
|
Loading…
x
Reference in New Issue
Block a user