unjs / redirect-ssl

Connect/Express middleware to enforce https using is-https
MIT License
100 stars 15 forks source link

Compatible with Nuxt 3 #48

Open rotsee opened 1 year ago

rotsee commented 1 year ago

Describe the feature

Is it possible to make this work with Nuxt3? If so, this is a request for documentation, otherwise it might be worth noting in the readme that the Nuxt example is for Nuxt 2 only.

Additional information

tadvas commented 1 year ago

I found a way how to do it https://stackoverflow.com/a/76366077/2904124