refined-github/github-url-detection

`[property="og:url"]` does not give the full url on the release page

yakov116 opened this issue · 3 comments

=> "/sindresorhus/refined-github/releases"

https://github.com/sindresorhus/refined-github/releases

How is this an issue? We only use it to get sindresorhus/refined-github

Ah I see what you mean

❌ Refined GitHub → releases-tab → TypeError: Failed to construct 'URL': Invalid URL
    at getRepoURL (refined-github.js:409)
    at Object.isRepoRoot (refined-github.js:378)
    at releases_tab_init (refined-github.js:3321)
    at runFeature (refined-github.js:2886)
    at setupPageLoad (refined-github.js:2894)
    at Object.add (refined-github.js:2929) 
Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Failed%20to%20construct%20'URL'%3A%20Invalid%20URL

Open an issue: https://github.com/sindresorhus/refined-github/issues/new?labels=bug&template=bug_report.md&title=%60releases-tab%60%3A%20Failed%20to%20construct%20'URL'%3A%20Invalid%20URL
		
logError @ refined-github.js:2864
refined-github.js:409 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at getRepoURL (refined-github.js:409)
    at isRepoRoot (refined-github.js:378)
    at refined-github.js:2883
    at Array.every (<anonymous>)
    at setupPageLoad (refined-github.js:2883)
    at Object.add (refined-github.js:2929)
refined-github.js:2864 ❌ Refined GitHub → recently-pushed-branches-enhancements → TypeError: Failed to construct 'URL': Invalid URL
    at getRepoURL (refined-github.js:409)
    at Object.isRepoRoot (refined-github.js:378)
    at getWidget (refined-github.js:5299)
    at recently_pushed_branches_enhancements_init (refined-github.js:5309)
    at runFeature (refined-github.js:2886)
    at setupPageLoad (refined-github.js:2894)
    at refined-github.js:2928 
Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Failed%20to%20construct%20'URL'%3A%20Invalid%20URL

Open an issue: https://github.com/sindresorhus/refined-github/issues/new?labels=bug&template=bug_report.md&title=%60recently-pushed-branches-enhancements%60%3A%20Failed%20to%20construct%20'URL'%3A%20Invalid%20URL
		
logError @ refined-github.js:2864
refined-github.js:409 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at getRepoURL (refined-github.js:409)
    at isRepoRoot (refined-github.js:378)
    at refined-github.js:2883
    at Array.every (<anonymous>)
    at setupPageLoad (refined-github.js:2883)
    at refined-github.js:2928
2refined-github.js:409 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at getRepoURL (refined-github.js:409)
    at isRepoRoot (refined-github.js:378)
    at isEmptyRepoRoot (refined-github.js:368)
    at refined-github.js:2883
    at Array.some (<anonymous>)
    at setupPageLoad (refined-github.js:2883)
    at refined-github.js:2928