Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
k03mad committed Nov 30, 2023
1 parent bd76616 commit 0720483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cron/providers/helpers/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const getApkFromParse = async parse => {
const {body} = await req(homepage);

const url = body?.match(re)?.[1];
const link = relative ? new URL(url, homepage) : url;
const link = relative ? new URL(url, homepage).href : url;

return {link, opts, homepage};
} catch (err) {
Expand Down

0 comments on commit 0720483

Please sign in to comment.