bullshit
This commit is contained in:
		
							parent
							
								
									f57c37269c
								
							
						
					
					
						commit
						727b0ad5f9
					
				|  | @ -21,7 +21,7 @@ async function uploadVideo(video) { | ||||||
|     ContentType: 'video/mp4', |     ContentType: 'video/mp4', | ||||||
|   }).promise() |   }).promise() | ||||||
| 
 | 
 | ||||||
|   return uploaded.Location |   return (uploaded.Location).replace(keys.endpoint, 'https://minio.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 |     return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue