Yet more upload url problems

This commit is contained in:
regalijan 2023-10-19 16:50:42 -04:00
parent 112e1faa3d
commit 5c238c5b93
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -1,5 +1,5 @@
export async function onRequestGet(context: RequestContext) {
const attachment = context.params.id as string;
const attachment = (context.params.id as string[]).join("/");
const unsignedURL = `https://mediaproxy.carcrushers.cc/${attachment}?Expires=${(
Math.round(Date.now() / 1000) + 1800
).toString()}`;