Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can HTTPS be used from the command line? #281

Open
SeanBannister opened this issue Jan 1, 2021 · 3 comments
Open

Can HTTPS be used from the command line? #281

SeanBannister opened this issue Jan 1, 2021 · 3 comments

Comments

@SeanBannister
Copy link

I use reload on the command line and need to serve using HTTPS, this doesn't appear to be possible? Could someone please confirm if I've missed something,

@alallier
Copy link
Owner

It is not currently supported. Reload command line is intended as dev tool.

What the use case?

@SeanBannister
Copy link
Author

The new javascript File System Access API won't work unless its served over HTTPs.

I often develop small projects without any build tool and just use reload to view the project as some JS features won't work if served from file:// and apparently now some don't work if served over http://

@alallier
Copy link
Owner

I'm hesitant to add this due to complexity but I suppose in your use case I could see how this needed/helpful. Reload does support HTTPS for express so we could feather the HTTPS support into the command line side of things

PRs welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants