From b0157eba197a357b5651ec3385fe7f75811f7cb6 Mon Sep 17 00:00:00 2001 From: PSH Date: Thu, 29 Aug 2024 14:42:28 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20(Admin)=20api=20key=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/main/resources/templates/admin/key.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/resources/templates/admin/key.html b/server/src/main/resources/templates/admin/key.html index f0acab9..89bc4dc 100644 --- a/server/src/main/resources/templates/admin/key.html +++ b/server/src/main/resources/templates/admin/key.html @@ -64,9 +64,9 @@

API 키 관리

fetch('/admin/api/key', { method: 'POST', headers: { - 'Content-Type': 'application/json' + 'Content-Type': 'text/plain' }, - body: JSON.stringify(apiKey) + body: apiKey }) .then(response => { if (response.ok) {