Skip to content
  • Kevin Morris's avatar
    fix: pkgbase -> package redirection · 29061c00
    Kevin Morris authored
    
    
    We were redirecting in some error-cases, which this commit sorts out:
    - package count == 1 and package base name != package name
    - was redirecting to {name} and not the only associated Package
    
    Now, when we have a package base name that mismatches its only
    package, we display the package base page. Otherwise, we redirect
    to the first package's page.
    
    Closes #282
    
    Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    29061c00