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) {