1
2
3
4
5
6
7
8
9
10
11
12
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
import { indieauth } from "https://esm.town/v/pomdtr/indie_auth";
const handler = () => {
return Response.json("OK");
};
const { httpEndpoint } = extractValInfo(import.meta.url);
export default indieauth(handler, {
clientID: httpEndpoint,
});