Skip to content

Commit

Permalink
Allows h5p scripts to run inline
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRobertAnsart committed Feb 13, 2024
1 parent 97d7858 commit 9fc340b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function getDefaultDirectives(): { [directiveName: string]: Iterable<stri
'connect-src': ["'self'", 'http:', 'https:', 'data:', 'blob:'],
'img-src': ["'self'", 'http:', 'https:', 'data:', 'blob:'],
'object-src': ["'none'"],
'script-src': ["'self'", 'https:', 'blob:'],
'script-src': ["'self'", 'https:', 'blob:', "'unsafe-inline'"],
'script-src-attr': ["'none'"],
'style-src': ["'self'", "'unsafe-inline'", 'https:'],
'media-src': ['*', 'data:', 'https:', 'blob:'],
Expand Down

0 comments on commit 9fc340b

Please sign in to comment.