dopecodez / Wikipedia

Wikipedia for node and the browser
MIT License
82 stars 19 forks source link

Make compatible with edge environments #60

Open ramiel opened 4 months ago

ramiel commented 4 months ago

Update axios to latest beta release to allow compatibility with edge environments (vercel, deno, cloudflare workers, etc.)

dopecodez commented 4 months ago

Can you add the relevant documentation to show why you need this specific beta version? i would much rather we followed the official releases rather than using the betas unless you have a relevant case @ramiel

ramiel commented 4 months ago

I'm using it in a vercel edge function, but it could be a cloudflare worker as well. I created my own branch to achieve this and shared it with you. Since you only use axios to do a simple request, I think it's not harmful but honestly, you can wait for the official release and it's fine as well of course