Yet more upload url problems
This commit is contained in:
parent
112e1faa3d
commit
5c238c5b93
@ -1,5 +1,5 @@
|
|||||||
export async function onRequestGet(context: RequestContext) {
|
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=${(
|
const unsignedURL = `https://mediaproxy.carcrushers.cc/${attachment}?Expires=${(
|
||||||
Math.round(Date.now() / 1000) + 1800
|
Math.round(Date.now() / 1000) + 1800
|
||||||
).toString()}`;
|
).toString()}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user