src/main/scala/s3/website/model/Site.scala in s3_website-3.0.0 vs src/main/scala/s3/website/model/Site.scala in s3_website-3.1.0

- old
+ new

@@ -33,10 +33,11 @@ case Success(yamlObject) => implicit val unsafeYaml = UnsafeYaml(yamlObject) for { s3_id <- loadOptionalString("s3_id").right s3_secret <- loadOptionalString("s3_secret").right + session_token <- loadOptionalString("session_token").right s3_bucket <- loadRequiredString("s3_bucket").right s3_endpoint <- loadEndpoint.right site <- loadOptionalString("site").right max_age <- loadMaxAge.right cache_control <- loadCacheControl.right @@ -63,9 +64,10 @@ s"Ignoring the extensionless_mime_type setting in $yamlConfig. Counting on Apache Tika to infer correct mime types.") ) Config( s3_id, s3_secret, + session_token, s3_bucket, s3_endpoint getOrElse S3Endpoint.defaultEndpoint, site, max_age, cache_control, \ No newline at end of file