refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// GET /api/hello -> { message: "<translated>", lang: "<active>" }
|
||||
// Uses ctx.t / ctx.lang, resolved from the wire-lang cookie or Accept-Language.
|
||||
// Uses ctx.t / ctx.lang, resolved from the wrn-lang cookie or Accept-Language.
|
||||
import type { Context } from "@wrnexus/core";
|
||||
|
||||
export const GET = async (ctx: Context) => {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// modal's invite form uses in the browser, so a request that bypasses the
|
||||
// client (curl, a replayed fetch, a stale page) is held to identical rules.
|
||||
//
|
||||
// There is no mail provider wired up in the example, so a successful parse
|
||||
// There is no mail provider connected up in the example, so a successful parse
|
||||
// just echoes the invite back. The point being demonstrated is the shared
|
||||
// schema and the client/server round trip, not delivery.
|
||||
import { verifyCsrf, type Context } from "@wrnexus/core";
|
||||
|
||||
Reference in New Issue
Block a user