[FastAPI] /{pkgname} endpoint not working
- I have described the bug in complete detail in the Description section.
- I have specified steps in the Reproduction section.
- I have included any logs related to the bug in the Logs section.
- I have included the versions which are affected in the Version(s) section.
Description
When viewing the /{pkgname}
endpoint, aurweb should be adding a prompt to redirect the user to the /packages/{pkgname}
endpoint if the package exists.
Reproduction
Both the FastAPI and PHP endpoint on the aur-dev instance are returning a JSON response for some reason as can be seen with https://aur-dev.archlinux.org/pried.
The difference I normally see can be seen between the MPR and AUR though.
Logs
N/A
Version(s)
MPR: https://github.com/makedeb/mprweb/commit/1300b0b10a3b11f48fc9897e2db42923483096b4