mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 10:16:06 +03:00
fix: cannot fullscreen due to Permission-Policy
(#2281)
This commit is contained in:
parent
ee6ee30df1
commit
e59c2af818
2 changed files with 4 additions and 1 deletions
|
@ -242,6 +242,9 @@ export default defineNuxtConfig({
|
||||||
'style-src': ['\'self\'', '\'unsafe-inline\''],
|
'style-src': ['\'self\'', '\'unsafe-inline\''],
|
||||||
'upgrade-insecure-requests': true,
|
'upgrade-insecure-requests': true,
|
||||||
},
|
},
|
||||||
|
permissionsPolicy: {
|
||||||
|
fullscreen: ['\'self\'', 'https:', 'http:'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
rateLimiter: false,
|
rateLimiter: false,
|
||||||
},
|
},
|
||||||
|
|
|
@ -165,7 +165,7 @@ em-emoji-picker {
|
||||||
html,
|
html,
|
||||||
body,
|
body,
|
||||||
#__nuxt {
|
#__nuxt {
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue