prune: remove deadcode
This commit is contained in:
7
main.ts
7
main.ts
@@ -15,7 +15,7 @@ jetstream.onUpdate("space.litenote.note", (event) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
jetstream.on("close", () => {
|
jetstream.on("close", () => {
|
||||||
console.log("Connection closed, PartySocket will reconnect automatically");
|
console.log("Connection closed");
|
||||||
});
|
});
|
||||||
|
|
||||||
jetstream.on("error", (error) => {
|
jetstream.on("error", (error) => {
|
||||||
@@ -31,8 +31,5 @@ Bun.serve({
|
|||||||
port: 3000,
|
port: 3000,
|
||||||
routes: {
|
routes: {
|
||||||
"/health": () => new Response("ok"),
|
"/health": () => new Response("ok"),
|
||||||
},
|
}
|
||||||
fetch() {
|
|
||||||
return new Response("Not Found", { status: 404 });
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user