It's 2024!
This commit is contained in:
parent
65e7ffba15
commit
1387e0a3bb
3 changed files with 4 additions and 4 deletions
|
@ -186,7 +186,7 @@ See our [ActivityPub documentation](https://docs.joinpeertube.org/api/activitypu
|
||||||
|
|
||||||
### Code
|
### 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
|
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
|
it under the terms of the GNU Affero General Public License as published
|
||||||
|
|
|
@ -178,14 +178,14 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</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>
|
<li>
|
||||||
<a href="https://joinpeertube.org" class="me-1" target="_blank" rel="noopener noreferrer" i18n>powered by PeerTube</a>
|
<a href="https://joinpeertube.org" class="me-1" target="_blank" rel="noopener noreferrer" i18n>powered by PeerTube</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener noreferrer">
|
<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)">©</span> 2015-2023
|
<span aria-label="copyleft" class="d-inline-block" style="transform: rotateY(180deg)">©</span> 2015-2024
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -62,7 +62,7 @@ export async function getOrCreateAPVideo (
|
||||||
const { videoObject } = await fetchRemoteVideo(videoUrl)
|
const { videoObject } = await fetchRemoteVideo(videoUrl)
|
||||||
if (!videoObject) throw new Error('Cannot fetch remote video with url: ' + 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 })
|
if (videoObject.id !== videoUrl) return getOrCreateAPVideo({ ...options, fetchType: 'all', videoObject })
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue