Public
HTTP (deprecated)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
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,
});
pomdtr-indieauth_test.web.val.run
April 12, 2024