This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// Every HTTP entry point of this app but the sign-in redirects: /api/health, /api/ready,
|
||||
// /api/openapi.json and /api/v1/<procedure>. One file, because there is one mount (spec §6.2).
|
||||
|
||||
import { handle } from "../../../src/server/router"
|
||||
|
||||
// A procedure call reads a session and a database; nothing here may be cached or prerendered.
|
||||
export const dynamic = "force-dynamic"
|
||||
export const runtime = "nodejs"
|
||||
|
||||
export const GET = handle
|
||||
export const POST = handle
|
||||
// A procedure whose payload is a byte stream (kit-core .stream(field)) is answered on PUT.
|
||||
export const PUT = handle
|
||||
Reference in New Issue
Block a user