fixing save urls on 404 pages
This commit is contained in:
parent
7d1cdf0952
commit
a4eac5b215
|
|
@ -3,7 +3,7 @@
|
|||
<% if (it.isMissing) { %>
|
||||
<div class="error">
|
||||
<h2>Archive not found</h2>
|
||||
<button onclick="window.location.href='/save?url=${encodeURIComponent(`https://www.youtube.com/watch?v=<%= it.id %>`)}'">
|
||||
<button onclick="window.location.href='/save?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D<%= it.id %>'">
|
||||
Archive Me!
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue