refactor: merge /api/chat-stream to /api/openai

This commit is contained in:
Yidadaa
2023-05-03 17:07:09 +08:00
parent e0053d57f7
commit ef5b7ce853
4 changed files with 74 additions and 78 deletions

View File

@@ -3,7 +3,7 @@ import { getServerSideConfig } from "./app/config/server";
import md5 from "spark-md5";
export const config = {
matcher: ["/api/openai", "/api/chat-stream"],
matcher: ["/api/openai"],
};
const serverConfig = getServerSideConfig();