mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix wrong URLPath in packages-meta-ext-v1.json
The code generating this file was using package name instead of package base. This then lead goaurrpc to consume this and forward the issue to RPC info requests.
This commit is contained in:
parent
eca8bbf515
commit
61d1bdfbf6
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ def _main():
|
|||
|
||||
# Construct our result JSON dictionary.
|
||||
item = as_dict(result)
|
||||
item["URLPath"] = snapshot_uri % result.Name
|
||||
item["URLPath"] = snapshot_uri % result.PackageBase
|
||||
|
||||
# We stream out package json objects line per line, so
|
||||
# we also need to include the ',' character at the end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue