x402-domain-check / tree / src/node.js ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
import { serve } from '@hono/node-server';
import { createApp } from './app.js';
import { configFromEnv } from './config.js';
const port = Number(process.env.PORT || 8789);
serve({ fetch: createApp(configFromEnv(process.env)).fetch, port });
console.log(`DomainCheck on http://localhost:${port}`);

agentgate-source: code mirror on Cloudflare Pages. All repos