From c2feee5b7f600f825162a286b9b3d643d589fb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Tue, 19 Dec 2023 15:16:07 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A1=E3=82=93=E3=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 15 +++++++++++++++ index.js | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) 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}`); }