mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Minor fix for filters and search
This commit is contained in:
parent
076eaa7635
commit
253ea8113b
2 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ spawn do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
before_all do |env|
|
before_get do |env|
|
||||||
if env.request.cookies["SID"]?
|
if env.request.cookies["SID"]?
|
||||||
env.set "authorized", true
|
env.set "authorized", true
|
||||||
else
|
else
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
|
<div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
|
||||||
<a style="width:100%;" href="<%= video["link"] %>">
|
<a style="width:100%;" href="<%= video["link"] %>">
|
||||||
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
||||||
<%= video["title"] %>
|
<p><%= video["title"] %></p>
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<p>
|
||||||
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
|
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
|
||||||
|
|
Loading…
Reference in a new issue