Skip to content

Commit

Permalink
Fix dns setup (#202)
Browse files Browse the repository at this point in the history
adding single level domain validation prevented people to set up bring-your-own-domain. Since we're doing this validation api-side now, we can just remove it to be extra safe.
  • Loading branch information
michaeljguarino authored Aug 24, 2022
1 parent be513f6 commit 6a85f13
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ func (pMan *ProjectManifest) ConfigureNetwork() error {
return fmt.Errorf("Not an onplural.sh domain")
}

if err := utils.ValidateSingleLevelDeep(res, pluralDomain); err != nil {
return err
}

if pluralDns {
client := api.NewClient()
if err := client.CreateDomain(res); err != nil {
Expand Down

0 comments on commit 6a85f13

Please sign in to comment.