Skip to content

Commit

Permalink
demo: Enforce <meta http-equiv="Content-Security-Policy">
Browse files Browse the repository at this point in the history
Prevent future regressions.

Ref #3.
Ref jquery/infrastructure-puppet#54
  • Loading branch information
Krinkle committed Aug 24, 2024
1 parent 5efb7a7 commit e99a052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data:; connect-src 'self' typesense.jquery.com">
<title>minibar | Demo</title>
<link rel="icon" href="../assets/logo.svg">
<link rel="stylesheet" href="../typesense-minibar.css">
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data:; connect-src 'self' typesense.jquery.com">
<title>typesense-minibar</title>
<link rel="icon" href="./assets/logo.svg">
<link rel="stylesheet" href="./demo/demo.css">
Expand Down

0 comments on commit e99a052

Please sign in to comment.