lole
This commit is contained in:
parent
ed62edcc50
commit
a5ed648e69
|
|
@ -4,6 +4,6 @@ import joinscript from "$lib/joinscript.js";
|
||||||
export function GET({ url }) {
|
export function GET({ url }) {
|
||||||
return new Response("", {
|
return new Response("", {
|
||||||
status: 302,
|
status: 302,
|
||||||
headers: { location: `https://assetdelivery.roblox.com/v1/asset?id=${url.searchParams.get("id")}` }
|
headers: { location: `https://assetdelivery.roblox.com/v1/asset?id=${url.searchParams.get("id")}&version=1` }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
import joinscript from "$lib/joinscript.js";
|
||||||
|
|
||||||
|
/** @type {import('./$types').RequestHandler} */
|
||||||
|
export function GET({ url }) {
|
||||||
|
return new Response("", {
|
||||||
|
status: 302,
|
||||||
|
headers: { location: `https://assetdelivery.roblox.com/v1/asset?id=${url.searchParams.get("id")}&version=1` }
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue