1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

fix: cannot fullscreen due to Permission-Policy (#2281)

This commit is contained in:
Alex 2023-07-30 02:45:30 +08:00 committed by GitHub
parent ee6ee30df1
commit e59c2af818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -242,6 +242,9 @@ export default defineNuxtConfig({
'style-src': ['\'self\'', '\'unsafe-inline\''],
'upgrade-insecure-requests': true,
},
permissionsPolicy: {
fullscreen: ['\'self\'', 'https:', 'http:'],
},
},
rateLimiter: false,
},

View file

@ -165,7 +165,7 @@ em-emoji-picker {
html,
body,
#__nuxt {
height: 100vh;
min-height: 100vh;
margin: 0;
padding: 0;
}