Skip to content

Commit

Permalink
Allow staging for remote images
Browse files Browse the repository at this point in the history
This should prove useful for beta sites when a live site is available to request images from.
  • Loading branch information
brettsmason authored Nov 13, 2024
1 parent b509be0 commit c49681d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/RemoteFiles/RemoteFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function setup() {
* @return bool
*/
private function is_safe_environment(): bool {
return in_array( $this->environment(), [ 'development', 'local' ], true );
return in_array( $this->environment(), [ 'development', 'local', 'staging' ], true );
}

/**
Expand Down

0 comments on commit c49681d

Please sign in to comment.