arash16 / nuxt-ssr-cache

Cache middleware for nuxt's SSR rendering.
MIT License
295 stars 64 forks source link

useHostPrefix option was not working #25

Open taktakahashi opened 4 years ago

taktakahashi commented 4 years ago

I 've set my useHostPrefix option to true, but it does not work. I found out that hostname variable was always undefined, so I 've added context.req.headers.host and it does work for me.

Radiergummi commented 4 years ago

@arash16 Could you please merge this PR? The library really doesn't work currently. If you don't want to support this project any longer or don't have enough time at hand, please mark it as archived, or add a notice to the readme. I'm sure there's lots of users here who would be happy to help maintaining or even take over, if necessary.