You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this framework as an API only.
Whenever I try to POST from my Angular App, I get a CORS error.
The Options goes through, I tried setting the Access-Control Headers there, thus the OPTIONS Request stopped failing.
But my POST still failed.
I tried implementing it myself in the http/Server.ts, like this:
But it doesn't seem to work. (I'm probably missing something, it's 3 am lol)
Oh and btw. GREAT Framework, it was exactly what I was looking for
The text was updated successfully, but these errors were encountered:
thanks for your using ZenTS. Unfortunately i don't have time to maintain this framework anymore. CORS was indeed on the list, but never made it into ZenTS. If you want implemented by yourself, you've to check the RequestFactory and write and implement this what you've posted into the request handler. But as said, you probably are better of using a more mature framework like NestJS.
Hi,
I'm trying to use this framework as an API only.
Whenever I try to POST from my Angular App, I get a CORS error.
The Options goes through, I tried setting the Access-Control Headers there, thus the OPTIONS Request stopped failing.
But my POST still failed.
I tried implementing it myself in the http/Server.ts, like this:

But it doesn't seem to work. (I'm probably missing something, it's 3 am lol)
Oh and btw. GREAT Framework, it was exactly what I was looking for
The text was updated successfully, but these errors were encountered: