can't enable HTTPS on VSCode
Describe the bug I tried enabling HTTPS (using a self-signed test certificate) using Five Server on VSCode, but all the documentation I can find is in Typescript, and not on what to put into settings.json. I've tried this, but VSCode doesn't recognize this:
{
// ...
"fiveServer.https": true,
"fiveServer.useLocalIp": true
}
Have a question? Join the discussions instead.
You can create a fiveserver.config.cjs file with the option https: true, just like here https://github.com/yandeu/five-server/blob/main/fiveserver.config.cjs
Where does that file go?
In the root of your project.
Does that mean the root of the Git repository, or the /docs subdirectory that is the root of the Website? Does it depend on which directory I open on VS Code?
It has to be in the root of the vscode editor, which I guess will be the same as the root of your git repository. Keep in mind, five server does not yet support multi-root workspace yet.