@@ -0,0 +1,13 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// The app's own share image (src/server/brand-routes.ts): public, because a link preview is fetched without
|
||||
// a session. A more specific file than `api.$.ts`, so it answers its own path first.
|
||||
|
||||
import { createFileRoute } from "@tanstack/react-router"
|
||||
|
||||
export const Route = createFileRoute("/api/brand/og")({
|
||||
server: {
|
||||
handlers: {
|
||||
GET: async () => (await import("../server/brand-routes")).appShareImage(),
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user