Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public static void UseWebpackDevMiddleware(
options = new WebpackDevMiddlewareOptions();
}

if (options.UseHttps) {
WebpackDevMiddlewareScheme = "https";
}

// Validate options
if (options.ReactHotModuleReplacement && !options.HotModuleReplacement)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ public class WebpackDevMiddlewareOptions
public bool ReactHotModuleReplacement { get; set; }
public string ConfigFile { get; set; }
public string ProjectPath { get; set; }
public bool UseHttps { get; set; }
}
}