feat: complete proxy client

This commit is contained in:
TrèsAbhi committed 2025-06-05 14:20:20 -05:00
1 parent 6a21c9aaac
commit 1e6ee2b80d
3 files changed
+2 -3

No files matched your search

+1
View File
@@ -0,0 +1 @@
/// <reference path="../.astro/types.d.ts" />
@@ -12,8 +12,6 @@ export const getStaticPaths: GetStaticPaths = () => {
};
export const GET: APIRoute<{ ui: StuffUIComponent }> = async ({ props }) => {
console.log(props.ui.icon);
const response = await fetch(props.ui.icon);
const buffer = await response.arrayBuffer();