Skip to content

Commit 4152462

Browse files
committed
수정
1 parent 7b1b77f commit 4152462

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/public/js/post/postviewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ writeCommentBtn.addEventListener('click', function () {
507507
//게시글지우기
508508
const fetchDeletePost = async (post_id, user_email) => {
509509
try {
510-
const response = await fetch(`/deletePost/${post_id}/${user_email}`, {
510+
const response = await fetch(`${postApiUrl}/deletePost/${post_id}/${user_email}`, {
511511
method: 'DELETE',
512512
headers: {
513513
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)