From 4a9812f0bcecf7ec077be006d4dd1046ea999ea0 Mon Sep 17 00:00:00 2001 From: Hacxy Date: Wed, 10 Apr 2024 21:31:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=AF=8F=E6=97=A5?= =?UTF-8?q?=E4=B8=80=E8=A8=80=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/oh-my-live2d/src/utils/index.ts | 2 +- tests/vite-app/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/oh-my-live2d/src/utils/index.ts b/packages/oh-my-live2d/src/utils/index.ts index 109eb0d..ee4d938 100644 --- a/packages/oh-my-live2d/src/utils/index.ts +++ b/packages/oh-my-live2d/src/utils/index.ts @@ -105,7 +105,7 @@ export const checkVersion = async (): Promise => { // 获取每日一言 export const getWordTheDay = async (format?: (wordTheDayData: WordTheDayData) => string): Promise => { - const fetchResult = await fetch('https://hitokoto.oml2d.com/'); + const fetchResult = await fetch('https://v1.hitokoto.cn'); const data = await fetchResult.json(); if (format) { diff --git a/tests/vite-app/src/main.ts b/tests/vite-app/src/main.ts index f84d1ca..89edcdb 100644 --- a/tests/vite-app/src/main.ts +++ b/tests/vite-app/src/main.ts @@ -144,7 +144,7 @@ const foo = async () => { }); oml2d.onStageSlideIn(() => { - oml2d.setStageSize({ width: 600, height: 600 }); + // oml2d.setStageSize({ width: 600, height: 600 }); console.log(oml2d.model); }); // oml2d.onStageSlideIn(() => {