fix: custom model compatibility with antigravity/mitm (PR #250)

This commit is contained in:
mxskeen
2026-03-06 16:44:16 +07:00
committed by decolua
parent d347de8092
commit 97860a0629
9 changed files with 88 additions and 41 deletions
+2
View File
@@ -1,6 +1,8 @@
import { NextResponse } from "next/server";
import { getCombos, createCombo, getComboByName } from "@/lib/localDb";
export const dynamic = "force-dynamic";
// Validate combo name: only a-z, A-Z, 0-9, -, _
const VALID_NAME_REGEX = /^[a-zA-Z0-9_-]+$/;