Skip to content

Commit a81d29f

Browse files
committed
chore: update csp to allow all required external resources and services
1 parent ac2d245 commit a81d29f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

public/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
http-equiv="Content-Security-Policy"
88
content="
99
default-src 'self'; script-src 'self' 'unsafe-inline' https://challenges.cloudflare.com https://*.cloudflare.com;
10-
script-src-elem 'self' 'unsafe-inline' https://challenges.cloudflare.com;
10+
script-src-elem 'self' 'unsafe-inline' https://challenges.cloudflare.com https://unpkg.com;
1111
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
1212
style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com;
13-
object-src 'none'; img-src 'self' data: https://cdn.ujjwalvivek.com https://images.unsplash.com;
13+
object-src 'none';
14+
img-src 'self' data: https://cdn.ujjwalvivek.com https://images.unsplash.com;
1415
font-src 'self' https://fonts.gstatic.com;
15-
connect-src 'self' https://challenges.cloudflare.com https://*.cloudflare.com https://api.github.com;
16-
frame-src https://challenges.cloudflare.com;"
16+
connect-src 'self' https://challenges.cloudflare.com https://*.cloudflare.com https://api.github.com https://cdn.ujjwalvivek.com;
17+
frame-src https://challenges.cloudflare.com https://*.notion.site https://www.youtube.com https://www.youtube-nocookie.com;
18+
worker-src 'self' blob:;"
1719
/>
1820
<meta name="viewport" content="width=device-width, initial-scale=1" />
1921
<meta name="theme-color" content="#1a1a1a" />

public/posts/log_0003_going_open_source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ Alright, that covers the entire codebase, from graphics to input to those hidden
11511151
11521152
I’ve laid bare every skeleton in the closet. If you’ve read this far, **please** fork the repo and send a PR if you see anything amiss or have ideas. Issues and contributions live on GitHub, and trust me, every little fix or suggestion is welcome.
11531153
1154-
Looking back, I never imagined getting from [log_0000 Boot Sequence](http://ujjwalvivek.com/blog/log_0000_boot_sequence.md) to here so quickly. Each post has been an improvisation jam session, and now you can jam with me.
1154+
Looking back, I never imagined getting from [log_0000 Boot Sequence](https://ujjwalvivek.com/blog/log_0000_boot_sequence.md) to here so quickly. Each post has been an improvisation jam session, and now you can jam with me.
11551155
11561156
:::warning
11571157
If you’ve made it this far

0 commit comments

Comments
 (0)