export async function register() {
// Start the git-over-SSH server alongside the web server (Node.js runtime only, not during builds).
if (process.env.NEXT_RUNTIME !== "nodejs" || process.env.NEXT_PHASE === "phase-production-build") return;
const { SSH_ENABLED } = await import("./lib/ssh-config");
if (!SSH_ENABLED) return;
const { startSshServer } = await import("./lib/ssh-server");
startSshServer();
}