From 1129650e9e064a644d569dd89a5981ecf278ec96 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 25 Dec 2024 01:54:39 +0900 Subject: [PATCH] =?UTF-8?q?updateInfos=E3=81=AE=E5=A0=B4=E6=89=80=E3=82=92?= =?UTF-8?q?=E7=A7=BB=E5=8B=95=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- {src/pages/update_history => public}/updateInfos.json | 0 src/pages/update_history/index.astro | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename {src/pages/update_history => public}/updateInfos.json (100%) diff --git a/README.md b/README.md index 15e6f250..ef9b45dd 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,8 @@ curl -s "$editor_url/public/qAndA.md" | # 変更履歴 curl -s "$editor_url/public/updateInfos.json" \ - >src/pages/update_history/updateInfos.json + >public/updateInfos.json +cp public/updateInfos.json src/data/updateInfos.json # 0.22までsrc/dataディレクトリだったので、しばらくはコピーする # デフォルトエンジンの更新情報 pnpm run generateLatestDefaultEngineInfos diff --git a/src/pages/update_history/updateInfos.json b/public/updateInfos.json similarity index 100% rename from src/pages/update_history/updateInfos.json rename to public/updateInfos.json diff --git a/src/pages/update_history/index.astro b/src/pages/update_history/index.astro index 4bccf4e8..d870b189 100644 --- a/src/pages/update_history/index.astro +++ b/src/pages/update_history/index.astro @@ -1,6 +1,6 @@ --- import Base from "@/layouts/Base.astro"; -import updateInfos from "./updateInfos.json"; +import updateInfos from "public/updateInfos.json"; ---