Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1854

How to force sveltekit app to redirect to HTTPS on Heroku

$
0
0

I have a domain on Namecheap that points to my Heroku instance via an ALIAS.

ALIAS @ example.com

I have the automatic SSL certificate enabled on my Heroku instance.

Accessing http://example.com and https://example.com works.

However, I want to disallow HTTP navigation by enforcing HTTPS.

According to Heroku, that must be handle at application level.

How can I do this with SvelteKit?


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>