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

[Services] fix ngrok domain default values #1110

Merged
merged 1 commit into from
Nov 29, 2023
Merged

[Services] fix ngrok domain default values #1110

merged 1 commit into from
Nov 29, 2023

Conversation

GuillaumeDSM
Copy link
Member

No description provided.

@GuillaumeDSM GuillaumeDSM requested a review from Herklos November 29, 2023 14:39
@GuillaumeDSM GuillaumeDSM self-assigned this Nov 29, 2023
@GuillaumeDSM GuillaumeDSM enabled auto-merge (rebase) November 29, 2023 14:39
@@ -235,7 +239,7 @@ def _start_server(self):
self.connected = True
self.webhook_server.serve_forever()
except pyngrok.exception.PyngrokNgrokError as e:
self.logger.error(f"Error when starting webhook service: Your ngrock.com token might be invalid. ({e})")
Copy link
Member

Choose a reason for hiding this comment

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

😄

services_constants.CONFIG_NGROK_DOMAIN, None)
self.ngrok_domain = self.config[services_constants.CONFIG_CATEGORY_SERVICES][services_constants.CONFIG_WEBHOOK]\
.get(services_constants.CONFIG_NGROK_DOMAIN, None)
if self.ngrok_domain in commons_constants.DEFAULT_CONFIG_VALUES:
Copy link
Member

Choose a reason for hiding this comment

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

👍

@GuillaumeDSM GuillaumeDSM merged commit 2987ef6 into dev Nov 29, 2023
4 checks passed
@GuillaumeDSM GuillaumeDSM deleted the ngrok branch November 29, 2023 14:48
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.

2 participants