Skip to content

Commit ea16f68

Browse files
committed
Fix resolve_urls! method call
1 parent 5bcd404 commit ea16f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/indieweb/endpoints/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def to_h
5151

5252
# @return [Nokogiri::HTML5::Document]
5353
def body
54-
@body ||= Nokogiri::HTML5(response.body, response.uri).resolve_relative_urls!
54+
@body ||= Nokogiri::HTML5(response.body, response.uri.to_s).resolve_urls!
5555
end
5656

5757
# @return [Hash{Symbol => Array<LinkHeaderParser::LinkHeader>}]

0 commit comments

Comments
 (0)