Add panorama previews and repair beta export rendering
This commit is contained in:
@@ -9,6 +9,7 @@ export async function api<T = Record<string, unknown>>(
|
||||
method = body ? "POST" : "GET",
|
||||
): Promise<T> {
|
||||
const res = await fetch("/api/v1/" + path, {
|
||||
signal: AbortSignal.timeout(30000),
|
||||
method,
|
||||
headers: body ? { "Content-Type": "application/json" } : undefined,
|
||||
body: body ? JSON.stringify(body) : undefined,
|
||||
|
||||
Reference in New Issue
Block a user