天気機能を最適化

This commit is contained in:
2025-06-30 12:24:03 +09:00
parent c4d2990118
commit c5bd22600a
4 changed files with 88 additions and 29 deletions
+2
View File
@@ -6,8 +6,10 @@ import type * as types from "../types";
dotenv.config();
export default async function timeNotice() {
// 現在時刻を取得
const now = format(new Date(), "HH:mm");
// 投稿
const resUeuse = await fetch(
`https://${process.env.SERVER}/api/ueuse/create`,
{