diff --git a/index.html b/index.html index 827d25e..151264b 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,13 @@ 動画 +
@@ -22,6 +29,14 @@
+ diff --git a/index.js b/index.js index b49e94d..63efa91 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ const player = Vue.createApp({ methods: { async loadComments() { try { - const resp = await fetch("comments.json"); + const resp = await fetch(this.commentJson); if (!resp.ok) { throw new Error(`HTTPエラー: ${resp.status}`); }