-
-
Notifications
You must be signed in to change notification settings - Fork 255
Add option to create HTTPS development server #195
Comments
nice, PR is welcome, maybe an |
Sure, I'll go for it. |
Oh, I didn't get this, why it has to be https? |
I'm working on a Salesforce managed application. In order to develop with HMR, I have to inject my bundle scripts (aka http://localhost:4000/app.js) into a Salesforce page which is under HTTPS. I have to work that way because my assets rely on some global JS objects and methods that are present on those Salesforce pages. |
Please, can you explain how this is used? (I want to constrain all requests to use HTTPS so I can add a CSP tag: |
@quimarche it's released on the While in Poi there're two ways to set
module.exports = {
devServer: {}
} |
It's available in |
Do you want to request a feature or report a bug?
Request a feature.
What is the current behavior?
There's no support for secure dev servers (HTTPS).
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
To be able to use an HTTPS server.
If this is a feature request, what is motivation or use case for changing the behavior?
I'm currently using a secure localhost server to develop features, because my development assets need to load on a HTTPS page.
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
I can make a PR. There's code for self-signed certificates in webpack-dev-server, so it would be basically copy&paste.
The text was updated successfully, but these errors were encountered: