Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 경로 오류 수정 #45

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/page/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ shareButton.addEventListener('click', function() {
navigator.clipboard.writeText(url)
.then(() => {
// 복사가 성공했을 때 알림을 표시합니다.
alert('주소가 복사되었습니다.');
alert('주소가 복사되었어요');
})
.catch(err => {
// 복사가 실패했을 때 에러를 콘솔에 출력합니다.
Expand Down
2 changes: 1 addition & 1 deletion js/page/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

let disabled = false;
// 배포시에 맞는 url로 변경 필!
const returnUrl = "index.html";
const returnUrl = "../index.html";
let IMAGE_URL =
"https://t4.ftcdn.net/jpg/00/64/67/27/240_F_64672736_U5kpdGs9keUll8CRQ3p3YaEv2M6qkVY5.jpg";

Expand Down
2 changes: 1 addition & 1 deletion js/page/review/reviewForm/writeReviewHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const writeReviewHandler = () => {

if (!username) {
window.alert('먼저 프로필을 설정하신 뒤에 작성해주세요');
window.location.href = '../../../../page/profile.html';
window.location.href = '../../../page/profile.html';
return;
}

Expand Down