Template
1
0

feat: update docs

This commit is contained in:
2025-04-18 21:27:08 +00:00
parent 74ab1644d6
commit 9ae0f377c7
4 changed files with 19 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
import { RequestInput } from "../libraries/relay.ts";
import { RelayAdapter } from "../mod.ts";
export const http: RelayAdapter = {
export const adapter: RelayAdapter = {
async fetch({ method, url, search, body }: RequestInput) {
const res = await fetch(`${url}${search}`, { method, headers: { "content-type": "application/json" }, body });
const data = await res.text();