diff --git a/index.html b/index.html index 7cfa45c..6576f50 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,7 @@

{{ profile.statusMessage }}

+ @@ -42,7 +43,7 @@ integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"> - + \ No newline at end of file diff --git a/meetup-liff.js b/meetup-liff.js index fe4bb64..f7a3240 100644 --- a/meetup-liff.js +++ b/meetup-liff.js @@ -54,6 +54,12 @@ function share() { } ] } - }]) - .then(() => liff.closeWindow(), err => app.error = err) + }]).then(() => liff.closeWindow(), err => app.error = err) +} + +function url() { + liff.sendMessages([{ + "type": "text", + "text": "Endpoint: https://adamu.github.io/line_dm_liff/\nRepository: https://github.com/adamu/line_dm_liff" + }]).then(() => liff.closeWindow(), err => app.error = err) } \ No newline at end of file