|
|
@ -3,7 +3,7 @@ import { JsonResponse, JsonStreamResponse, createQueryUrl } from '@/lib/utils'
|
|
|
|
import { debug } from '@/logger'
|
|
|
|
import { debug } from '@/logger'
|
|
|
|
import type { APIRoute } from 'astro'
|
|
|
|
import type { APIRoute } from 'astro'
|
|
|
|
|
|
|
|
|
|
|
|
export const GET: APIRoute = async ({ request, params: { uuid }, url, redirect }) => {
|
|
|
|
export const GET: APIRoute = async ({ params: { uuid }, url, redirect }) => {
|
|
|
|
const rawLogs = await getJobLogs(uuid!)
|
|
|
|
const rawLogs = await getJobLogs(uuid!)
|
|
|
|
|
|
|
|
|
|
|
|
const format = url.searchParams.get('format')
|
|
|
|
const format = url.searchParams.get('format')
|
|
|
|