Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Yet more upload url problems
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 112e1fa commit 5c238c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/uploads/[[id]].ts
@@ -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()}`;
Expand Down

0 comments on commit 5c238c5

Please sign in to comment.