Sha256: f5c6db471b70fcaeedc9cd4ecfdbd1f68f7da24e549b385a2bf1e8d72ec7e1b4

Contents?: true

Size: 563 Bytes

Versions: 7

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github-pages-health-check-1.16.1 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.16.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.15.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.14.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.13.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.12.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.11.1 lib/github-pages-health-check/errors/invalid_a_record_error.rb