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 { NextResponse } from 'next/server'
2
3export const ATPROTO_DISABLED = false
4
5export function atprotoDisabledResponse() {
6 return NextResponse.json(
7 { error: 'ATProto channel is disabled' },
8 { status: 410 },
9 )
10}
11
12/*
13import { NextResponse } from "next/server";
14
15export const ATPROTO_DISABLED = true;
16
17export function atprotoDisabledResponse() {
18 return NextResponse.json({ error: "ATProto channel is disabled" }, { status: 410 });
19}
20*/