mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
fix merge bug
This commit is contained in:
@@ -43,7 +43,7 @@ async function handle(
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
export const preferredRegion = [
|
||||
"arn1",
|
||||
"bom1",
|
||||
|
||||
@@ -58,7 +58,7 @@ async function handle(
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
export const preferredRegion = [
|
||||
"arn1",
|
||||
"bom1",
|
||||
|
||||
@@ -55,7 +55,7 @@ async function handle(
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
export const preferredRegion = [
|
||||
"arn1",
|
||||
"bom1",
|
||||
|
||||
@@ -41,7 +41,7 @@ async function handle(
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
export const preferredRegion = [
|
||||
"arn1",
|
||||
"bom1",
|
||||
|
||||
@@ -27,4 +27,4 @@ async function handle() {
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
|
||||
@@ -101,7 +101,7 @@ async function handle(
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
export const preferredRegion = [
|
||||
"bom1",
|
||||
"cle1",
|
||||
|
||||
@@ -70,4 +70,4 @@ export const POST = handle;
|
||||
export const GET = handle;
|
||||
export const OPTIONS = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
|
||||
@@ -155,4 +155,4 @@ export const PUT = handle;
|
||||
export const GET = handle;
|
||||
export const OPTIONS = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
// export const runtime = "edge";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from 'url';
|
||||
import { CN_MASKS } from "./cn";
|
||||
// import { TW_MASKS } from "./tw";
|
||||
import { EN_MASKS } from "./en";
|
||||
@@ -12,6 +13,8 @@ const BUILTIN_MASKS: Record<string, BuiltinMask[]> = {
|
||||
en: EN_MASKS,
|
||||
};
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
|
||||
const dirname = path.dirname(__filename);
|
||||
|
||||
fs.writeFile(
|
||||
|
||||
Reference in New Issue
Block a user