Skip to content

Commit

Permalink
Allow unencrypted http connections to GCS in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pohlm01 committed Feb 15, 2024
1 parent 6e7f92a commit 08ff8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl<T: ObjectStore> ImageThumbs<T> {
.with_content_type_for_suffix("jpeg", mime::IMAGE_JPEG.to_string())
.with_content_type_for_suffix("png", mime::IMAGE_PNG.to_string());

#[cfg(test)]
#[cfg(debug_assertions)]
{
client_options = client_options.with_allow_http(true);
}
Expand Down

0 comments on commit 08ff8f7

Please sign in to comment.