📜  ngrok for asp.net core - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:15.284000             🧑  作者: Mango

代码示例1
Searching the web, this seems to be a common problem when using ngrok 
with ASP.NET Core. Thankfully, among the many suggestions listed in that 
StackOverflow issue, there is a correct solution.
Stop ngrok and run it again with the following parameters:

ngrok http https://localhost:5001 -host-header="localhost:5001"