community: resolve user provided url
This commit is contained in:
@@ -35,8 +35,8 @@ async function onSubmit() {
|
||||
}
|
||||
|
||||
const packageData = {
|
||||
...result, // { manifest, publishState, creationDate, ts }
|
||||
versionsUrl: `${url}@${version || 'latest'}`,
|
||||
...result, // { manifest, publishState, creationDate, ts, versionsUrl }
|
||||
versionsUrl: result.versionsUrl,
|
||||
iconUrl: result.manifest.iconUrl // compat with app store format
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user