i18next / i18next-express-middleware

[deprecated] can be replaced with i18next-http-middleware
https://github.com/i18next/i18next-http-middleware
MIT License
207 stars 55 forks source link

Fastify compatablity #184

Closed TopHatMan closed 5 years ago

TopHatMan commented 5 years ago

Simple issue res.set causes fastify server to crash.

I just commented it out and everything works fine. But I am trying to repliment the res.set in fastify way.

jamuhl commented 5 years ago

If you come up with a solution to make it work for both PR would be very welcome...else might be a good time to create a i18next-fastify-middleware

TopHatMan commented 5 years ago

I was thinking of that for now I just removed the res.set and copied it to my app. I am not using server url translation. I think thats broken now.

jamuhl commented 5 years ago

closing due inactivity