diff --git a/src/components/Tweet.vue b/src/components/Tweet.vue index 03201ec..97ee123 100644 --- a/src/components/Tweet.vue +++ b/src/components/Tweet.vue @@ -64,7 +64,7 @@ export default { }), handshaken.origin ) - } else if (navigator.permissions) { + } else if (navigator.permissions && navigator.clipboard && navigator.clipboard.writeText) { await navigator.clipboard.writeText(copyText) } else { await copy(copyText) diff --git a/src/store.js b/src/store.js index 534a15e..1aeae18 100644 --- a/src/store.js +++ b/src/store.js @@ -8,7 +8,7 @@ import isMobile from 'is-mobile' import Visibility from 'visibilityjs' const jsonBossesUrl = 'https://unpkg.com/gbf-data/dist/raid.json' -const gbfRaidServerUrl = 'https://v157-7-52-20.z1d20.static.cnode.jp/' +const gbfRaidServerUrl = 'http://v157-7-52-20.z1d20.static.cnode.jp/' function fetchCache(gbfRaidServer) { return new Promise((resolve, reject) => {