From c956f7eb4af0f70303f10b491f03f0f8b9b14714 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Tue, 22 Oct 2024 12:03:40 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"lando/lando#3744:=20Check=20to=20make?= =?UTF-8?q?=20sure=20default=20url=20isn't=20being=20overridd=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 606133b6f5fac600845dfa1d39e430f096a05fdb. --- builders/_drupaly.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/builders/_drupaly.js b/builders/_drupaly.js index ae57bb0..71bf1f0 100644 --- a/builders/_drupaly.js +++ b/builders/_drupaly.js @@ -189,12 +189,8 @@ const getDbTooling = database => { const getProxy = (options, proxyService = 'appserver') => { // get any intial proxy stuff for proxyService const urls = _.get(options, `_app.config.proxy.${proxyService}`, []); - - // if urls doesn't have the lando generated domain, add it in - if (!_.find(urls, {hostname: `${options.app}.${options._app._config.domain}`})) { - urls.push({hostname: `${options.app}.${options._app._config.domain}`}); - } - + // add + urls.push(`${options.app}.${options._app._config.domain}`); // return return {[proxyService]: _.uniq(_.compact(urls))}; };