Skip to content

Commit

Permalink
Reader: add missng http when subscribing
Browse files Browse the repository at this point in the history
  • Loading branch information
eoigal committed Oct 24, 2024
1 parent 27b49fc commit 450ac78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/blocks/reader-subscription-list-item/connected.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class ConnectedSubscriptionListItem extends Component {
export default compose(
connect( ( state, ownProps ) => ( {
isFollowing: isFollowingSelector( state, { feedId: ownProps.feedId, blogId: ownProps.siteId } ),
url: ownProps.url.match( /^https?:\/\// ) ? ownProps.url : `http://${ ownProps.url }`,
} ) ),
connectSite
)( ConnectedSubscriptionListItem );

0 comments on commit 450ac78

Please sign in to comment.