W n8n
This commit is contained in:
parent
b790b9d9cf
commit
144178f760
@ -268,7 +268,7 @@ export async function POST(request: Request) {
|
|||||||
profils: mission.profils,
|
profils: mission.profils,
|
||||||
config: {
|
config: {
|
||||||
N8N_API_KEY: process.env.N8N_API_KEY,
|
N8N_API_KEY: process.env.N8N_API_KEY,
|
||||||
MISSION_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://localhost:3000/api'
|
MISSION_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://api.slm-lab.net/api'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ export class N8nService {
|
|||||||
config: {
|
config: {
|
||||||
...data.config,
|
...data.config,
|
||||||
N8N_API_KEY: this.apiKey,
|
N8N_API_KEY: this.apiKey,
|
||||||
MISSION_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://localhost:3000/api'
|
MISSION_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://api.slm-lab.net/api'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user