Update URLs to n8n.io API (#3391)

This commit is contained in:
Ben Hesseldieck 2022-05-30 11:29:31 +02:00 committed by GitHub
parent c38f6af499
commit 56c07a45d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -772,7 +772,7 @@ export const schema = {
endpoint: {
doc: 'Endpoint to retrieve version information from.',
format: String,
default: 'https://api.n8n.io/versions/',
default: 'https://api.n8n.io/api/versions/',
env: 'N8N_VERSION_NOTIFICATIONS_ENDPOINT',
},
infoUrl: {
@ -793,7 +793,7 @@ export const schema = {
host: {
doc: 'Endpoint host to retrieve workflow templates from endpoints.',
format: String,
default: 'https://api.n8n.io/',
default: 'https://api.n8n.io/api/',
env: 'N8N_TEMPLATES_HOST',
},
},

View file

@ -46,7 +46,7 @@ export const BREAKPOINT_LG = 1200;
export const BREAKPOINT_XL = 1920;
export const N8N_IO_BASE_URL = `https://api.n8n.io/`;
export const N8N_IO_BASE_URL = `https://api.n8n.io/api/`;
// node types
export const BAMBOO_HR_NODE_TYPE = 'n8n-nodes-base.bambooHr';