File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ export const handleShareKakao = () => {
1111 const url = new URL ( location . href ) ;
1212 const folderId = url . searchParams . get ( "folder" ) ;
1313
14- // 새로운 URL로 설정
15- if ( folderId ) {
16- location . href = `https://linkbrary-9-99.vercel.app/share/${ folderId } ` ;
17- }
18-
1914 if ( Kakao . isInitialized ( ) ) {
2015 Kakao . Share . sendDefault ( {
2116 objectType : "feed" ,
@@ -24,8 +19,8 @@ export const handleShareKakao = () => {
2419 description : "나에게 필요한 링크만 모아 두었어요!" ,
2520 imageUrl : "https://linkbrary-9-99.vercel.app/images/home_main.png" , // 배포 후 실제 도메인으로 변경 필요
2621 link : {
27- mobileWebUrl : location . href ,
28- webUrl : location . href ,
22+ mobileWebUrl : `https://linkbrary-9-99.vercel.app/share/ ${ folderId } ` ,
23+ webUrl : `https://linkbrary-9-99.vercel.app/share/ ${ folderId } ` ,
2924 } ,
3025 } ,
3126 } ) ;
You can’t perform that action at this time.
0 commit comments