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

[2183] Allow 1 character custom domains length #139

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

saliceti
Copy link
Member

@saliceti saliceti commented Dec 11, 2024

Context

The name of the custom domain in front door is the same as the subdomain. Subdomain with 1 character is allowed but not the custom domain name.
This is required as the length of "." cannot exceed 64 characters and some subdomains must be 1 character to fit in.

Changes proposed in this pull request

Add a fix to create a longer name when the subdomain is 1 character.

Guidance to review

Implemented in DFE-Digital/npq-registration#2070

Checklist

  • I have performed a self-review of my code, including formatting and typos
  • I have cleaned the commit history
  • I have added the Devops label
  • I have attached the pull request to the trello card

The name of the custom domain in front door is the same as the subdomain.
Subdomain with 1 character is allowed but not the custom domain name.

Add a fix to create a longer name when the subdomain is 1 character.

This is required as the length of "<domain>.<zone>" cannot exceed 64
characters and some subdomains must be 1 character to fit in.
@saliceti
Copy link
Member Author

NPQ domains

@saliceti saliceti merged commit 440927a into main Dec 11, 2024
3 checks passed
@saliceti saliceti deleted the 2183-npq-domains branch December 11, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants