FiloSottile / FiloSottile/mkcert
How can I prevent this automatic redirection from HTTP to HTTPS?
Open
- Dominant language
- Go
- Stars
- 59.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
To generate a certificate for localhost, I ran the following commands:
```
brew install mkcert
mkcert --install
mkcert localhost
```
This created the .crt and .key files, which I then used in my applications (https://localhost:4300).
However, I've noticed that when I open an application that doesn't require HTTPS, it automatically redirects to HTTPS (http://localhost:4200).
How can I prevent this automatic redirection from HTTP to HTTPS?
Contributor guide
Assessment
This issue has not been assessed yet.