blob: 51d1ca4f537ec6a24a9989fc8f8593d5dfb51027 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
// @ts-nocheck
export async function fetchSync(ctx) {
const str = ctx.arguments[0].toString();
const response = await fetch(str);
const text = await response.text();
return <string value={text} />;
}
|