Sha256: 37b552a54494c36ac1bd24abc72b4e4e564dc7ababbb6e42e45e51f5f0861677

Contents?: true

Size: 556 Bytes

Versions: 12

Compression:

Stored size: 556 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/"

        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

12 entries across 12 versions & 1 rubygems

Version Path
github-pages-health-check-1.18.5 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.18.4 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.18.2 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.18.1 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.18.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.9 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.8 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.7 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.6 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.2 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.1 lib/github-pages-health-check/errors/invalid_a_record_error.rb
github-pages-health-check-1.17.0 lib/github-pages-health-check/errors/invalid_a_record_error.rb