From 58e703d2c96e4eab7fb92925ed3c03b88145d473 Mon Sep 17 00:00:00 2001 From: Theo Sun Date: Wed, 22 May 2024 16:37:53 +0800 Subject: [PATCH] chore: update --- src/index.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.mjs b/src/index.mjs index 70a004f..4780295 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -6,6 +6,8 @@ import { fetchAccessToken } from './utils.mjs'; const app = express(); +app.disable('x-powered-by'); + app.use(express.json()); app.post("/v1/chat/completions", async (req, res) => {