feat(editor): Block the frontend when trying to access n8n from another host over http (#8906)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-03-18 18:34:41 +01:00
committed by GitHub
parent 6955e8991c
commit 669bd830e9
8 changed files with 152 additions and 182 deletions

View File

@@ -100,6 +100,9 @@ export class FrontendService {
urlBaseEditor: instanceBaseUrl,
binaryDataMode: config.getEnv('binaryDataManager.mode'),
versionCli: '',
authCookie: {
secure: config.getEnv('secure_cookie'),
},
releaseChannel: config.getEnv('generic.releaseChannel'),
oauthCallbackUrls: {
oauth1: `${instanceBaseUrl}/${restEndpoint}/oauth1-credential/callback`,