Monorepo for Tangled tangled.org
1

Configure Feed

Select the types of activity you want to include in your feed.

sites: use new redirect_with_status

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

+1 -1
+1 -1
sites/src/lib.rs
··· 169 169 // Canonical redirect for directory-like paths. 170 170 if needs_trailing_slash(path) { 171 171 let redirect_url = with_trailing_slash(&url); 172 - return Response::redirect(redirect_url.parse()?, 308); 172 + return Response::redirect_with_status(redirect_url.parse()?, 308); 173 173 } 174 174 175 175 // Single KV lookup for the whole domain.