File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed
Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 55 "compatibilityDate" : " 2025-12-26" ,
66 "serve" : {
77 "path" : " public" ,
8- "build" : " src/client.js"
8+ "build" : " src/client.js" ,
9+ "cors" : " true"
910 }
1011}
Original file line number Diff line number Diff line change 110110
111111 currentStroke . push ( { x, y } ) ;
112112
113- ctx . lineWidth = 3 ;
113+ ctx . lineWidth = 2 ;
114114 ctx . lineCap = "round" ;
115115 ctx . lineTo ( x , y ) ;
116116 ctx . stroke ( ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function drawStroke(stroke) {
2626 const ctx = canvas . getContext ( "2d" ) ;
2727
2828 ctx . strokeStyle = stroke . color ;
29- ctx . lineWidth = 5 ;
29+ ctx . lineWidth = 2 ;
3030 ctx . lineCap = "round" ;
3131 ctx . beginPath ( ) ;
3232
Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ export default class CanvasServer {
1717 }
1818
1919 async onRequest ( req ) {
20- return new Response ( null , {
21- headers : {
22- ...HEADERS ,
23- "Content-Security-Policy" : "frame-ancestors *" ,
24- } ,
25- } ) ;
20+ return new Response ( null , { headers : HEADERS } ) ;
2621 }
2722
2823 async onConnect ( connection ) {
You can’t perform that action at this time.
0 commit comments