src/main/scala/s3/website/model/Site.scala in s3_website-2.6.1 vs src/main/scala/s3/website/model/Site.scala in s3_website-2.7.0

- old
+ new

@@ -48,10 +48,11 @@ s3_reduced_redundancy <- loadOptionalBoolean("s3_reduced_redundancy").right cloudfront_distribution_id <- loadOptionalString("cloudfront_distribution_id").right cloudfront_invalidate_root <- loadOptionalBoolean("cloudfront_invalidate_root").right concurrency_level <- loadOptionalInt("concurrency_level").right redirects <- loadRedirects.right + treat_zero_length_objects_as_redirects <- loadOptionalBoolean("treat_zero_length_objects_as_redirects").right } yield { gzip_zopfli.foreach(_ => logger.info( """|Zopfli is not currently supported. Falling back to regular gzip. |If you find a stable Java implementation for zopfli, please send an email to lauri.lehmijoki@iki.fi about it.""" .stripMargin)) @@ -71,10 +72,11 @@ exclude_from_upload = exclude_from_upload, s3_reduced_redundancy, cloudfront_distribution_id, cloudfront_invalidate_root, redirects, - concurrency_level.fold(20)(_ max 20) // At minimum, run 20 concurrent operations + concurrency_level.fold(20)(_ max 20), + treat_zero_length_objects_as_redirects ) } case Failure(error) => Left(ErrorReport(error)) } \ No newline at end of file