A
Arjun Nair
@arjun.dev · 12 hours, 21 minutes ago

The 'it works on my machine' curse

Code works perfectly on my local setup. Deployed it to Vercel and the API routes are completely broken due to a CORS issue.

Why does CORS exist to torment us? Spend 5 hours coding the feature, spend 5 hours fixing CORS headers.

Comments (5)

Join the Conversation

Log in to leave a comment and interact with this post.

Log In

Comments (8)

N
nandini_ui
12 hours, 18 minutes ago

I thought I was the only one who felt this way lol

R
rohan.builds
12 hours, 18 minutes ago

This is a game changer for real.

S
sid_hacks
12 hours, 18 minutes ago

This is a game changer for real.

S
sneha_builds
12 hours, 18 minutes ago

Great perspective. I never thought about it that way.

K
kunalk_dev
12 hours, 17 minutes ago

React is cool, but sometimes I miss the simplicity of plain HTML/JS.