This commit is contained in:
		
							parent
							
								
									67ef015561
								
							
						
					
					
						commit
						3a6f002682
					
				| 
						 | 
					@ -21,7 +21,7 @@ async function uploadVideo(video) {
 | 
				
			||||||
    ContentType: 'video/mp4',
 | 
					    ContentType: 'video/mp4',
 | 
				
			||||||
  }).promise()
 | 
					  }).promise()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party')
 | 
					  return (uploaded.Location).replace(keys.endpoint, 'https://s2.archive.party')
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function uploadImage(id, url) {
 | 
					async function uploadImage(id, url) {
 | 
				
			||||||
| 
						 | 
					@ -52,7 +52,7 @@ async function uploadImage(id, url) {
 | 
				
			||||||
      ContentType: 'video/webp',
 | 
					      ContentType: 'video/webp',
 | 
				
			||||||
    }).promise()
 | 
					    }).promise()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party')
 | 
					    return (uploaded.Location).replace(keys.endpoint, 'https://s2.archive.party')
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue