reload icon indicating copy to clipboard operation
reload copied to clipboard

Can HTTPS be used from the command line?

Open SeanBannister opened this issue 4 years ago • 3 comments

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,

SeanBannister avatar Jan 01 '21 22:01 SeanBannister

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

What the use case?

alallier avatar Jan 12 '21 16:01 alallier

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://

SeanBannister avatar Jan 13 '21 05:01 SeanBannister

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

alallier avatar Nov 26 '21 22:11 alallier