Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icon attribute returns relative path instead of full url #3

Open
hazaveh opened this issue Oct 2, 2023 · 0 comments
Open

icon attribute returns relative path instead of full url #3

hazaveh opened this issue Oct 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hazaveh
Copy link
Owner

hazaveh commented Oct 2, 2023

The Icon property comes as a relative path if it is not referenced as a full URL in the HTML source.

{
    "url": "https://linkinize.com",
    "title": "Linkinize.com - Bookmarks manager for teams",
    "description": "Bookmark manager for teams",
    "image": "https://images.unsplash.com/photo.png",
    "icon": "/icon.png",
    "error": 0,
    "locale": "en"
}

Ideally, if the icon is found, it should be returned as a full URL regardless of how it is mentioned in the HTML source.

@hazaveh hazaveh added the enhancement New feature or request label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant