It's 2024!

pull/6252/head
Chocobozzz 2024-02-16 08:58:29 +01:00
parent 65e7ffba15
commit 1387e0a3bb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 4 additions and 4 deletions

View File

@ -186,7 +186,7 @@ See our [ActivityPub documentation](https://docs.joinpeertube.org/api/activitypu
### Code
Copyright (C) 2015-2023 PeerTube Contributors (see [CREDITS.md](/CREDITS.md))
Copyright (C) 2015-2024 PeerTube Contributors (see [CREDITS.md](/CREDITS.md))
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published

View File

@ -178,14 +178,14 @@
</ul>
</div>
<ul class="d-flex footer-copyleft" i18n-title title="powered by PeerTube - CopyLeft 2015-2023">
<ul class="d-flex footer-copyleft" i18n-title title="powered by PeerTube - CopyLeft 2015-2024">
<li>
<a href="https://joinpeertube.org" class="me-1" target="_blank" rel="noopener noreferrer" i18n>powered by PeerTube</a>
</li>
<li>
<a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener noreferrer">
<span aria-label="copyleft" class="d-inline-block" style="transform: rotateY(180deg)">&copy;</span> 2015-2023
<span aria-label="copyleft" class="d-inline-block" style="transform: rotateY(180deg)">&copy;</span> 2015-2024
</a>
</li>
</ul>

View File

@ -62,7 +62,7 @@ export async function getOrCreateAPVideo (
const { videoObject } = await fetchRemoteVideo(videoUrl)
if (!videoObject) throw new Error('Cannot fetch remote video with url: ' + videoUrl)
// videoUrl is just an alias/rediraction, so process object id instead
// videoUrl is just an alias/redirection, so process object id instead
if (videoObject.id !== videoUrl) return getOrCreateAPVideo({ ...options, fetchType: 'all', videoObject })
try {