Skip to content

Commit 0d837e8

Browse files
committed
Fix ngrok command line and ports
1 parent 764d9fe commit 0d837e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Webhook.Controllers/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dotnetRunMessages": true,
2525
"launchBrowser": true,
2626
"launchUrl": "bot/setWebhook",
27-
"applicationUrl": "https://localhost:7057;http://localhost:5227",
27+
"applicationUrl": "https://localhost:44315;http://localhost:5227",
2828
"environmentVariables": {
2929
"ASPNETCORE_ENVIRONMENT": "Development"
3030
}

Webhook.Controllers/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ Install ngrok from this page: [ngrok - download](https://ngrok.com/download) or
3939
brew install --cask ngrok
4040
```
4141

42-
and start ngrok on port 8443.
42+
and start ngrok for your localhost application url.
4343

4444
```shell
45-
ngrok http 8443
45+
ngrok http --host-header=localhost https://localhost:44315
4646
```
4747

4848
Telegram API only supports the ports 443, 80, 88 or 8443. Feel free to change the port in the config of the project.

0 commit comments

Comments
 (0)