mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Support CLI move of original video file
This commit is contained in:
parent
54c140c800
commit
96b9748585
6 changed files with 129 additions and 33 deletions
|
@ -166,9 +166,10 @@ export function makePutBodyRequest (options: {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export async function getRedirectionUrl (url: string) {
|
||||
export async function getRedirectionUrl (url: string, token?: string) {
|
||||
const res = await makeRawRequest({
|
||||
url,
|
||||
token,
|
||||
redirects: 0,
|
||||
expectedStatus: HttpStatusCode.FOUND_302
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue