mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): remove trailing slashes from fastapi-driven links
With our FastAPI server, trailing slashes causes a 307 redirect which ends up redirecting users to routes which do not contain trailing slashes. This removes trailing slashes from our templates where FastAPI is concerned to avoid unnecessary redirects. There may still be links or usages around which have unnecessary usages of a trailing slash; please keep a look out for these and remove them where possible. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
e05cfc3375
commit
267f2cb2c4
14 changed files with 58 additions and 58 deletions
|
@ -1,5 +1,5 @@
|
|||
<div id="pkgsearch" class="widget">
|
||||
<form id="pkgsearch-form" method="get" action="/packages/">
|
||||
<form id="pkgsearch-form" method="get" action="/packages">
|
||||
<fieldset>
|
||||
<label for="pkgsearch-field">{{ "Package Search" | tr }}:</label>
|
||||
<input type="hidden" name="O" value="0" />
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
(<a href="/packages/?SB=l&SO=d">{{ "more" | tr }}</a>)
|
||||
</span>
|
||||
</h3>
|
||||
<a class="rss-icon latest" href="/rss/"
|
||||
<a class="rss-icon latest" href="/rss"
|
||||
title="AUR Latest Packages RSS Feed">
|
||||
<img src="/static/images/rss.svg" alt="RSS Feed" />
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue