Skip to content

Commit

Permalink
Merge pull request #2 from seongwon-kang/master
Browse files Browse the repository at this point in the history
add Content-Security-Policy
  • Loading branch information
yokawasa authored Feb 19, 2020
2 parents 92e433d + 5e6d708 commit 85a5aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function getWebviewContent(token: string, header: any, payload: any) {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src http://localhost:* http://127.0.0.1:*; script-src 'unsafe-inline'; style-src 'unsafe-inline';"></head>
<title>JWT Debugger - Decoded</title>
</head>
<body>
Expand Down

0 comments on commit 85a5aeb

Please sign in to comment.