Sha256: b7a169bc0270c74ff9e28137502c590eee2bea903eb13639297d053a9eab9ff0
Contents?: true
Size: 1.36 KB
Versions: 31
Compression:
Stored size: 1.36 KB
Contents
class Jets::Resource::ApiGateway::RestApi::LogicalId class Message def routes_changed <<~EOL Routes Change Detection: Jets has detected that a new brand API Gateway is required to be deployed. IMPORTANT: This will result in the API Gateway endpoint changing. EOL end def custom_domain api = Jets::Resource::ApiGateway::DomainName.new domain_name = api.domain_name if domain_name <<~EOL It looks like you have already set up a custom domain. The domain name: #{domain_name} So you should be good to go as the custom domain will be updated with the new API Gateway endpoint. To avoid this prompt in the future, you can configure: config/application.rb config.api.auto_replace = true More info: custom domain docs: https://rubyonjets.com/docs/routing/custom-domain/ EOL else "Please set up a custom domain https://rubyonjets.com/docs/routing/custom-domain/" end end def auto_replace_disabled <<~EOL It looks like `config.api.auto_replace = false`. IE: config/application.rb config.api.auto_replace = false The deploy will not continue. See: * https://rubyonjets.com/docs/app-config/reference/ * https://rubyonjets.com/docs/routing/custom-domain/ EOL end end end
Version data entries
31 entries across 31 versions & 2 rubygems