Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ngrok Startup Options #2111

Merged
merged 3 commits into from
Mar 18, 2020
Merged

Conversation

srinaath
Copy link
Contributor

This PR makes sure the following condition holds

  • If RunNgrokOnStartup = true always use ngrok irrespective of local or remote bot

  • If RunNgrokOnStartup = false; BypassNgrokOnLocalhost = true then
    Local Bot - Does not use Ngrok
    Remote Bot - Uses Ngrok

  • If RunNgrokOnStartup = false; BypassNgrokOnLocalhost = false then
    Local Bot - Uses Ngrok if configured or else returns the localhost url
    Remote Bot - Uses Ngrok

Srinaath Ravichandran added 2 commits March 17, 2020 09:44
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@srinaath srinaath merged commit 5575481 into v4.8.1 Mar 18, 2020
@srinaath srinaath deleted the srravich/bugfix/ngrok-startup-options branch March 18, 2020 17:22
srinaath pushed a commit that referenced this pull request Mar 18, 2020
* Fixed missing item in File menu on Win / Lin. (#2100)

* Fixed missing item in File menu on Win / Lin.

* Fixed changelog entry PR #

* Bump version to 4.8.0 (#2101)

* Package updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* Added missing icon file for Linux / Mac (#2104)

* Prevent passing props to activity middleware (#2105)

* Prevent passing props to activity middleware

* Package lock updated

* Changelog updated

* Corrected changelog

* Added tests to ensure restart bubble not present (#2107)

Should hide restart bubble if speech bot

Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>

* Fixed a bug that was causing a blank User 'id' field. (#2108)

* Fixed a bug that was causing a blank User 'id' field.

* Added extra assertion in tests.

* Ngrok Startup Options (#2111)

* Make sure ngrok running loop not hit everytime

* Ngrok reporting made accurate (#2113)

* Recator isUsingNgrok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants