abaga129 / sveltekit-adapter-iis

15 stars 5 forks source link

Option to add rewrite rule for redirecting requests to https #7

Closed Palkess closed 10 months ago

Palkess commented 10 months ago

Having the option to add a redirect rule for https would be a nice feature when setting up the configuration for the adapter. While this could be placed in the node-server.cjs file, the benefit of placing this in the web.config is that it still works for any requests towards the website, in case you have any virtual directories set up.

abaga129 commented 10 months ago

LGTM! Thanks for the PR!