Something went wrong. Try again.
An ATProto PDS running on Rivet?
Something went wrong. Try again.
12345678910111213141516171819202122import { createClient } from "rivetkit/client";import { registry } from "./actors";import { serve } from "@hono/node-server";import { Hono } from "hono";
// Connect to Rivetconst client = createClient<typeof registry>();
// Get the http handler actorconst http = client.http.getOrCreate("main");
// Create a webserverconst app = new Hono();
// Forward all requests to the http handlerapp.all("*", (c) => http.fetch(c.req.raw));
// Run the node.js webserverserve(app, (info) => { console.log(`Listening on http://localhost:${info.port}`);});