From 84e3e32e595ca89f39e4c99d8c2e3d52c74a4bea Mon Sep 17 00:00:00 2001 From: Win Date: Sun, 15 Dec 2024 12:11:25 +0700 Subject: [PATCH] Change post interval to 3 hours --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 0313bea..00494de 100644 --- a/src/index.js +++ b/src/index.js @@ -100,7 +100,7 @@ app.get('/callback', function(req, res) { await Fetch.save_image(static_image_url, static_radar_path); await Fetch.save_image(animated_image_url, animated_radar_path); - if(post_lap == 0 || post_lap == 12) { // 12 * 5 = 60 + if(post_lap == 0 || post_lap == 36) { // 36 * 5 = 180 // Fetch static image let static_radar_image_name = `${raw_date.toISOString()}.jpg`; const upload_static_radar = await Post.create_image(host, access_token, static_radar_image_name, static_radar_path);