yoavgecht

Results comments of yoavgecht

I'm adding to my node express app res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "X-Requested-With"); then trying to redirect res.writeHead(302, {'Location': `https://cors-anywhere.herokuapp.com/${doc.long_url}`}); Its not redirecting and in network panel it show 200 ok. If...

I'm using CORS anywhere as a library. So in some websites If I put the address manually on the browser it shows Missing required request header. Must specify one of:...

Ok I don't have any solution for this it's just not redirecting

Maybe try this: cors-anywhere-master/server.js line 26 requireHeader : ['origin', 'x-requested-with'] just empty the array requireHeader : [] For me its still not working but this is what I can suggest...

I'm using CSS Modules I import react-datepicker/src/stylesheets/datepicker-cssmodules.scss not helping :(

frazboyz - you saved my ass 👍

I have a translation json file that sits on one of the client side directories. I tried to load it on init but translations are not showing. how can I...

thanks I installed it with npm so which scripts do I need to load? /node_modules/i18next/i18next.js I don't see i18nextXHRBackend.js jquery-i18next.js something very strange is going on...

But you said that anyway everyone needs the xhr. even to load it from a client side directory. so why put it in separate package? also the documentation is not...

Thanks but My translations.json file sits in a client side directory. How do I use it? I tried i18next .init({ resources: { // I need to load a translation.json file...