Skip to content

dizel3d/wds-https-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to reproduce webpack-dev-server bug #1193:

  1. Install and start webpack-dev-server (WDS):
npm install
npm start

Now a webpack entry with WDS client script inside is situated on http://localhost:3000/main.js

  1. Go to HTTP page, containing
<script src="http://localhost:3000/main.js"></script>

As you can see, WDS client successfully connected to WDS server.

http

  1. Go to the page via HTTPS.

WDS client cannot connect to WDS server. https

The reason is that WDS client tries to connect to non-existent endpoint https://localhost:3000/sockjs-node. But it should connect to http://localhost:3000/sockjs-node (The difference is in protocol.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published