mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Update code formatting for Crystal 0.33.0
Crystal 0.33.0 introduced some changes to to the code formatter. Run "crystal tool format" so CI doesn't fail anymore.
This commit is contained in:
parent
cb8e7181c4
commit
bc9dc3bf1e
2 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ def get_referer(env, fallback = "/", unroll = true)
|
|||
end
|
||||
|
||||
referer = referer.full_path
|
||||
referer = "/" + referer.lstrip("\/\\")
|
||||
referer = "/" + referer.lstrip("/\\")
|
||||
|
||||
if referer == env.request.path
|
||||
referer = fallback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue