fix: cannot fullscreen due to `Permission-Policy` (#2281)
parent
ee6ee30df1
commit
e59c2af818
|
@ -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 New Issue