feat: add obfuscation

This commit is contained in:
shinya
2025-08-25 00:01:27 +08:00
parent 77d4e0820c
commit 0c514a37b8
13 changed files with 685 additions and 3 deletions
@@ -9,6 +9,8 @@ import { SimpleCrypto } from '@/lib/crypto';
import { db } from '@/lib/db';
import { CURRENT_VERSION } from '@/lib/version';
export const runtime = 'nodejs';
const gzipAsync = promisify(gzip);
export async function POST(req: NextRequest) {
@@ -9,6 +9,8 @@ import { configSelfCheck, setCachedConfig } from '@/lib/config';
import { SimpleCrypto } from '@/lib/crypto';
import { db } from '@/lib/db';
export const runtime = 'nodejs';
const gunzipAsync = promisify(gunzip);
export async function POST(req: NextRequest) {