From c569ddc338aa2629a5f06db297427d4529e7f0c0 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:45:26 -0700 Subject: [PATCH] remote update --- bin/update.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/update.ts b/bin/update.ts index c6d979d..efcdbc5 100644 --- a/bin/update.ts +++ b/bin/update.ts @@ -3,7 +3,7 @@ import { $ } from "bun" import restart from "./restart" -export default async function () { +export default async function update() { if (process.env.NODE_ENV !== "production") { return { error: "Can only update in production." } } @@ -16,4 +16,6 @@ export default async function () { } else { return restart() } -} \ No newline at end of file +} + +export const GET = update \ No newline at end of file