Skip to content

Commit e99a052

Browse files
committed
demo: Enforce <meta http-equiv="Content-Security-Policy">
Prevent future regressions. Ref #3. Ref jquery/infrastructure-puppet#54
1 parent 5efb7a7 commit e99a052

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demo/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<meta charset="utf-8">
44
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data:; connect-src 'self' typesense.jquery.com">
56
<title>minibar | Demo</title>
67
<link rel="icon" href="../assets/logo.svg">
78
<link rel="stylesheet" href="../typesense-minibar.css">

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<meta charset="utf-8">
44
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data:; connect-src 'self' typesense.jquery.com">
56
<title>typesense-minibar</title>
67
<link rel="icon" href="./assets/logo.svg">
78
<link rel="stylesheet" href="./demo/demo.css">

0 commit comments

Comments
 (0)