-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentry.ts
More file actions
25 lines (21 loc) · 751 Bytes
/
Copy pathentry.ts
File metadata and controls
25 lines (21 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { createRuntimeDeployment } from "@nami/runtime-host"
import {
installedRuntimePlatformManifests,
runtimePlatformPlugin,
selectedRuntimePlatformManifest,
} from "./virtual-runtime-platform"
import { handleRedirectRequest } from "./lib/handler"
const deployment = createRuntimeDeployment({
handler: handleRedirectRequest,
installedPlatformManifests: installedRuntimePlatformManifests,
platform: runtimePlatformPlugin,
selectedPlatformManifest: selectedRuntimePlatformManifest,
})
export default deployment
export const GET = deployment
export const HEAD = deployment
export const OPTIONS = deployment
export const POST = deployment
export const PUT = deployment
export const PATCH = deployment
export const DELETE = deployment