lib/jets/builders/code_builder.rb
# Store s3 base url is needed for asset serving from s3 later. Need to package this
# as part of the code so we have a reference to it.
# At this point the minimal stack exists, so we can grab it with the AWS API.
# We do not want to grab this as part of the live request because it is slow.
Store s3 base url is needed for asset serving from s3 later. Need to package this
as part of the code so we have a reference to it.
At this point the minimal stack exists, so we can grab it with the AWS API.
We do not want to grab this as part of the live request because it is slow.
Store s3 base url is needed for asset serving from s3 later . Need to package this as part of the code so we have a reference to it . At this point the minimal stack exists so we can grab it with the AWS API . We do not want to grab this as part of the live request because it is slow .
def store_s3_base_url
      return if poly_only?
      write_s3_base_url("config/s3_base_url.txt")
      write_s3_base_url("rack/config/s3_base_url.txt") if Jets.rack?
    end
def store_s3_base_url return if poly_only? write_s3_base_url ( "config/s3_base_url.txt" ) write_s3_base_url ( "rack/config/s3_base_url.txt" ) if Jets . rack? end
Store s3 base url is needed for asset serving from s3 later.
Store s3 base url is needed for asset serving from s3 later .