diff --git a/src/entity/wirMessage.go b/src/entity/wirMessage.go index ea79dbb..b0508d3 100644 --- a/src/entity/wirMessage.go +++ b/src/entity/wirMessage.go @@ -109,6 +109,7 @@ const ( type UrlItem struct { Description string `json:"description"` ID string `json:"id"` + Port int `json:"port"` Title *string `json:"title"` Type string `json:"type"` Url *string `json:"url"` diff --git a/src/webinspector/webkitDebugService.go b/src/webinspector/webkitDebugService.go index 2d0ee86..9e231fa 100644 --- a/src/webinspector/webkitDebugService.go +++ b/src/webinspector/webkitDebugService.go @@ -201,6 +201,7 @@ func (w *WebkitDebugService) GetOpenPages(port int) ([]entity.BundleItem, error) var pageItem = &entity.UrlItem{ Description: "", ID: pageID, + Port: port, Title: page.PageWebTitle, Type: "page", Url: page.PageWebUrl,