Minor fix for filters and search

This commit is contained in:
Omar Roth 2018-03-24 22:39:07 -05:00
parent 076eaa7635
commit 253ea8113b
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ spawn do
end
end
before_all do |env|
before_get do |env|
if env.request.cookies["SID"]?
env.set "authorized", true
else

View File

@ -9,7 +9,7 @@
<div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
<a style="width:100%;" href="<%= video["link"] %>">
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %>
<p><%= video["title"] %></p>
</a>
<p>
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>