Skip to content

Commit

Permalink
feat(developer): abandon hashes for style sheets
Browse files Browse the repository at this point in the history
Fixes: #12789
  • Loading branch information
srl295 committed Dec 27, 2024
1 parent ca78a25 commit 685fdfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion developer/src/vscode-plugin/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function RawSource({ text }) {
);
return (
<div>
<button onClick={() => setShown(false)}>Hide Raw Source</button>
<Button type="primary" onClick={() => setShown(false)}>Hide Raw Source</Button>
<h4>Raw Source</h4>
<pre className="code">{text}</pre>
</div>
Expand Down
2 changes: 1 addition & 1 deletion developer/src/vscode-plugin/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>LDML Editor</title>
<!-- stylesheet added automatically -->
<script type="module" src="./index.js" nonce="@NONCE@"></script>
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src ws://localhost:1234 @CSPSOURCE@; img-src @CSPSOURCE@; style-src @CSPSOURCE@ 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=' 'sha256-kJQfPEJM779h2GeqW/40dUT8NTjnbOwicLe4qJIa4nI=' 'sha256-ySCg8c9YjSPdVA9NfKODXSiyXA/AAklASz+TkwEwnCo=' 'sha256-R5O58J1G/nMqnPmcisy3TaKLFCLFxD8Idd78CqYeOX0=' 'sha256-kJQfPEJM779h2GeqW/40dUT8NTjnbOwicLe4qJIa4nI=' ; script-src 'nonce-@NONCE@';">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src ws://localhost:1234 @CSPSOURCE@; img-src @CSPSOURCE@; style-src @CSPSOURCE@ 'unsafe-inline' ; script-src 'nonce-@NONCE@';">
</head>

<body>
Expand Down

0 comments on commit 685fdfb

Please sign in to comment.