Oddbean new post about | logout
 Probably cors 
 Khatru should be handling the CORS but no one ever knows how to do that and I forgot to test so please send a patch. 
 I host with cloudflare so needed to do it there, it would ignore khatru anyway 😅 
 I will look tomorrow  
 so i shouldn't be adding cors headers to my nginx config?

either way i added them and it still errors for me.

        add_header 'Access-Control-Allow-Origin' '*';
        add_header 'Access-Control-Expose-Headers' '*';
        add_header 'Access-Control-Allow-Headers' 'Authorization,*';
        add_header 'Access-Control-Allow-Methods' 'GET, PUT, DELETE';

Nostrudle says: 

Cannot read properties of undefined (reading 'url')

when I try to upload an image.
 
 Pls Open up web dev tools in browser, open network console and network tab, let me see raw errors, ty sir we'll fix it

Also double check you set the new blossom_path .env per the example .env 
 i fixed it. i removed the upstream server's headers.

        proxy_hide_header Access-Control-Allow-Origin; 
 Best cors testing site I've found https://cors-test.codehappy.dev/ 
 relayer already handles it iirc, just copypasta

it's in the router/mux thingy 
 servermux