-
Notifications
You must be signed in to change notification settings - Fork 521
Mixed Content over HTTPS #450
Comments
|
If I remember right there was no easy way to get webpack HMR to be https through this pipeline. But I can't find the previous discussion about it. |
There is a parameter to replace server port in the dev branch: But I have not found a way to supply https protocol. @MarkPieszak: I will appreciate any help on this. Currently, the HMR is not working as HTTP is blocked by the chrome browser. |
@aaltotsky Could you not disable https during development? Maybe toggle using an environment variable. That's what I'm having to do. |
There is an existing issue about this #271 .net core 1.1 is supposed to have part of the fix ... so hopefully we will get this soon. Till then i launch chrome like this : So HMR will work. I don't know if other browsers have some similar option |
Thank you, @boban984. Your solution is working for me. I added a "new browser" to Visual studio 2015 (as Chrome-Unsecured) under IIS Express menu and now I'm able to run HMR. |
I have to use HTTPS (with localhost) for server authentication using:
I'm using the UseWebpackDevMiddleware as:
When I open browser, I'm getting the following error:
How could I instruct WebpackDevMiddleware to use HTTPS and not HTTP protocol? Is there a parameter that I should use?
The text was updated successfully, but these errors were encountered: