Skip to content

Commit

Permalink
feat : (Admin) api key 관리 페이지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyaak committed Aug 29, 2024
1 parent 1fd88f1 commit b0157eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/resources/templates/admin/key.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ <h1 class="text-center mb-4">API 키 관리</h1>
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) {
Expand Down

0 comments on commit b0157eb

Please sign in to comment.