Skip to content

Commit

Permalink
fix: url href (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz authored Apr 26, 2024
1 parent 74e1444 commit 4a6e9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NativeScript/runtime/URLImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void URLImpl::GetHref(v8::Local<v8::String> property,
}
auto isolate = info.GetIsolate();

auto value = ptr->GetURL()->get_hostname();
auto value = ptr->GetURL()->get_href();

info.GetReturnValue().Set(ToV8String(isolate, value.data(), (int)value.length()));

Expand Down

0 comments on commit 4a6e9ad

Please sign in to comment.