Sha256: 80c76064f1aa9a7f7e3eb33f50213c4bdba45c69de37bd6ad89391ff5d14e03f
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true # A default_host is required to generate full URL paths to be sent to Drip # Here we initialize one if one is not present if Spree::Core::Engine.routes.default_url_options.dig(:host).blank? Rails.logger.warn('solidus_drip, default_url_options was blank and is being set to localhost') Spree::Core::Engine.routes.default_url_options[:host] = 'localhost:3000' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_drip-0.1.0 | config/initializers/default_host.rb |
solidus_drip-0.0.1 | config/initializers/default_host.rb |