This commit is contained in:
alma 2025-05-22 18:59:46 +02:00
parent b790b9d9cf
commit 144178f760
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ export async function POST(request: Request) {
profils: mission.profils,
config: {
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'
}
});

View File

@ -26,7 +26,7 @@ export class N8nService {
config: {
...data.config,
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'
}
};