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

Use webhook url as fallback when editor url is not defined #2986

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

krynble
Copy link
Contributor

@krynble krynble commented Mar 14, 2022

No description provided.

Comment on lines 59 to 61
const n8nBaseUrl = config.get('editorBaseUrl')
? config.get('editorBaseUrl')
: getWebhookBaseUrl();
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick

Suggested change
const n8nBaseUrl = config.get('editorBaseUrl')
? config.get('editorBaseUrl')
: getWebhookBaseUrl();
const n8nBaseUrl = config.get('editorBaseUrl') || getWebhookBaseUrl();

@krynble krynble force-pushed the user-management-editor-uri branch from 4cd984c to 450508d Compare March 14, 2022 12:37
@mutdmour mutdmour merged commit c1b0cb3 into user-management-backend Mar 14, 2022
@mutdmour mutdmour deleted the user-management-editor-uri branch March 14, 2022 12:37
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants