13 lines
318 B
TypeScript
13 lines
318 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
const AGENT_VERSION = "0.3.0";
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
version: AGENT_VERSION,
|
|
windows: `/edubox-agent-v${AGENT_VERSION}.exe`,
|
|
linux: `/edubox-agent-v${AGENT_VERSION}`,
|
|
mac: `/edubox-agent-v${AGENT_VERSION}-mac`,
|
|
});
|
|
}
|