From b501f7228c99c070831bb4e235e623f87b3f8820 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 13 Jan 2022 17:59:51 +0900 Subject: [PATCH] Fix typo in nginx-cache-warmer script --- production/nginx-cache-warmer | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/production/nginx-cache-warmer b/production/nginx-cache-warmer index 48812af58..b84ece171 100755 --- a/production/nginx-cache-warmer +++ b/production/nginx-cache-warmer @@ -1,15 +1,15 @@ #!/usr/bin/env zsh hostname=$(hostname) while true -do for url in /url/v1/statistics/2h \ - /url/v1/statistics/24h \ - /url/v1/statistics/1w \ - /url/v1/statistics/1m \ - /url/v1/statistics/3m \ - /url/v1/statistics/6m \ - /url/v1/statistics/1y \ - /url/v1/statistics/2y \ - /url/v1/statistics/3y \ +do for url in /api/v1/statistics/2h \ + /api/v1/statistics/24h \ + /api/v1/statistics/1w \ + /api/v1/statistics/1m \ + /api/v1/statistics/3m \ + /api/v1/statistics/6m \ + /api/v1/statistics/1y \ + /api/v1/statistics/2y \ + /api/v1/statistics/3y \ / do curl -s "https://${hostname}${url}" >/dev/null