mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Return URL as a string
This commit is contained in:
parent
be2801477b
commit
ec5bbb8350
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ exports.mediumHandler = {
|
|||
try {
|
||||
const res = new URL(url);
|
||||
res.searchParams.delete('source');
|
||||
return { url: res }
|
||||
return { url: res.toString() }
|
||||
} catch (error) {
|
||||
console.error('error prehandling medium url', error)
|
||||
throw error
|
||||
|
|
|
|||
Loading…
Reference in a new issue