Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 authored Aug 10, 2024
1 parent 26c12de commit 081c153
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ const startServer = async () => {
hidePoweredBy: true,
contentSecurityPolicy: {
directives: {
scriptSrc: ["'self'", 'https://cdn.jsdelivr.net', 'https://telegram.org', 'https://static.cloudflareinsights.com'],
scriptSrc: [
"'self'",
'https://cdn.jsdelivr.net',
'https://telegram.org',
'https://static.cloudflareinsights.com'
],
frameSrc: ["'self'", 'https://*.telegram.org'],
workerSrc: ["'self'", 'blob:'],
},
Expand Down

0 comments on commit 081c153

Please sign in to comment.