server: switch CORS import to hono/cors (no @hono/cors dep)

This commit is contained in:
2025-10-06 17:28:48 +02:00
parent 1708ae588c
commit ed28d7aea2

View File

@@ -1,7 +1,7 @@
import { Hono } from "hono";
import { serve } from '@hono/node-server';
import { serveStatic } from '@hono/node-server/serve-static';
import { cors } from '@hono/cors';
import { cors } from 'hono/cors';
import { rpcApp } from "./routes/rpc.js";
import { caldavApp } from "./routes/caldav.js";