One Calendar is a privacy-first calendar web app built with Next.js. It has modern security features, including e2ee, password-protected sharing, and self-destructing share links 馃搮
calendar.xyehr.cn
1import { clerkMiddleware } from "@clerk/nextjs/server"
2
3export default clerkMiddleware({
4 publicRoutes: [
5 "/",
6 "/app",
7 "/sign-in",
8 "/sign-up",
9 "/reset-password",
10 "/api/blob",
11 "/api/share",
12 "/api/verify",
13 "/at-oauth",
14 "/api/atproto/(.*)",
15 "/oauth-client-metadata.json",
16 "/api/share/public"
17 ],
18})
19
20export const config = {
21 matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
22}