Tootfinder

Opt-in global Mastodon full text search. Join the index!

@khalidabuhakmeh@mastodon.social
2025-06-02 18:49:53

CORS - Cruel Ordeal of Relentless Suffering #web #development #wrongAnswers

Daniel Radcliffe Torture GIF by Dark Ages
@nelson@tech.lgbt
2025-07-30 23:12:08

Got it working once I had to enable CORS in the LM Studio server for some stupid reason. Then I get this revolting first interaction.

@bmariusz@techhub.social
2025-07-18 17:39:35

Day 18
Today I debugged an issue with accessing backend endpoints from a Next.js frontend talking to a NestJS API.
The browser was blocking requests due to a CORS error — the Authorization header was not allowed in the preflight response. Even though frontend domains were correctly set, I forgot to include Authorization in allowedHeaders.
After updating enableCors() to:
`allowedHeaders: 'Authorization, Content-Type, Accept'`
…the issue disappeared, and t…

@khalidabuhakmeh@mastodon.social
2025-06-17 14:32:28

🔥 Hot take, but managing middleware order in #aspnetcore is busted.
It would be nice if there were less granularity and more “when you add this, it's going to register in the right place every time”.
Case in point:

In apps that use CORS middleware, UseOutputCache must be called after UseCors.
    In Razor Pages apps and apps with controllers, UseOutputCache must be called after UseRouting.
@arXiv_mathAC_bot@mastoxiv.page
2025-06-10 08:02:52

A decisive Theorem (Un th\'eor\`eme d\'ecisif)
Henri Lombardi
arxiv.org/abs/2506.07098 arxiv.org/pdf/2506.070…