import { createCookie } from "@remix-run/cloudflare"; // 管çç»é¢èªè¨¼ç¨ãã¼ã¯ã³ export const adminToken = createCookie("admin-token", { httpOnly: true, path: "/admin", sameSite: "lax", secure: process.env.NODE_ENV === "production", }); import { ActionFunctionArgs, json, redirect } from "@remix-run/cloudflare"; import { Form, useActionData } from "@remix-run/react"; import { sign } from "hono/jwt"; import { a
{{#tags}}- {{label}}
{{/tags}}