Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web.hosting): change 2api call by iceberg on domain configuration #15185

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

ghyenne
Copy link
Contributor

@ghyenne ghyenne commented Jan 29, 2025

Question Answer
Branch? master
Bug fix? yes
New feature? no
Breaking change? no
Tickets MANAGER-16782
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

I changed 2api call by iceberg on domain configuration

Related

@ghyenne ghyenne requested a review from a team as a code owner January 29, 2025 14:47
@github-actions github-actions bot added universe-web-cloud bug Something isn't working labels Jan 29, 2025
(subDomain !== '' ? ['www', subDomain].join('.') : 'www')
);
}
return record.subDomain === subDomain;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return record.subDomain === subDomain;
return record.subDomain === subDomain || (wwwNeeded && record.subDomain === ['www', subDomain].filter(Boolean).join('.')) ;

It might do the same thing not sure if it's more readable tho

tristanwagner
tristanwagner previously approved these changes Jan 30, 2025
stif59100
stif59100 previously approved these changes Jan 30, 2025
ref: MANAGER-16782

Signed-off-by: Guillaume Hyenne <guillaume.hyenne@ovhcloud.com>
@ghyenne ghyenne changed the base branch from master to release/hosting-collaboration-w7 February 6, 2025 15:44
@ghyenne ghyenne merged commit 3f6a8de into release/hosting-collaboration-w7 Feb 6, 2025
19 checks passed
@ghyenne ghyenne deleted the fix/MANAGER-16782 branch February 6, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants