Skip to content

Commit

Permalink
Revert "lando/lando#3744: Check to make sure default url isn't being …
Browse files Browse the repository at this point in the history
…overridd…"

This reverts commit 606133b.
  • Loading branch information
reynoldsalec authored Oct 22, 2024
1 parent 606133b commit c956f7e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions builders/_drupaly.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))};
};
Expand Down

0 comments on commit c956f7e

Please sign in to comment.