api: add protected CRUD routers and DNS check logic
This commit is contained in:
parent
c7edd90a7e
commit
5264cccb6c
11 changed files with 709 additions and 8 deletions
|
|
@ -6,7 +6,7 @@ import { env } from "@minmon/env/server";
|
|||
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
|
||||
import { Elysia } from "elysia";
|
||||
|
||||
const app = new Elysia()
|
||||
new Elysia()
|
||||
.use(
|
||||
cors({
|
||||
origin: env.CORS_ORIGIN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue