Sha256: 8520047e5bc84d673c3d6208c3c7cc1ef13807804ea16818eb44111a52e97c28

Contents?: true

Size: 553 Bytes

Versions: 6

Compression:

Stored size: 553 Bytes

Contents

# frozen_string_literal: true

module GitHubPages
  module HealthCheck
    module Errors
      class InvalidAAAARecordError < GitHubPages::HealthCheck::Error
        DOCUMENTATION_PATH = "/articles/setting-up-a-custom-domain-with-github-pages/"

        def message
          <<-MSG
          Your site's DNS settings are using a custom subdomain, #{domain.host},
          that's set up as an AAAA record. We recommend you change this to a CNAME
          record pointing at #{username}.github.io.
          MSG
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
github-pages-health-check-1.18.5 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb
github-pages-health-check-1.18.4 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb
github-pages-health-check-1.18.2 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb
github-pages-health-check-1.18.1 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb
github-pages-health-check-1.18.0 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb
github-pages-health-check-1.17.9 lib/github-pages-health-check/errors/invalid_aaaa_record_error.rb