Fix /Asset

This commit is contained in:
I-Have-An-Issue 2022-10-15 23:24:49 -04:00
parent c85c182c0d
commit 505ff5265f
No known key found for this signature in database
GPG Key ID: E55435DEA0825091
1 changed files with 9 additions and 0 deletions

View File

@ -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.query.get("id")}` }
});
}