aliuq / vite-ssr-vue3

vite ssr plugin for vue
MIT License
1 stars 0 forks source link

Add the ability to read the request headers and change the response headers with status code #3

Open yuriifabirovskyi opened 1 year ago

yuriifabirovskyi commented 1 year ago

Hi, very nice plugin, I like it. I think it's a much better than vite-ssr i'm currently using.

But being able to read request headers is important because I often need to get them when rendering ssr. Same with the response - often I need to change the response headers or change the status code. For example, authentication cannot be implemented correctly without access to read and change cookies. And 404 pages will not be indexed correctly by Google without changing the status code.

Do you plan to support this plugin and implement this feature?

aliuq commented 1 year ago

Hi, I will be working on this feature in February as we approach the holidays.

yuriifabirovskyi commented 1 year ago

Wow, thanks a lot! A will wait for it!