From 14592325c6d988f836ae7ef7ab8ca0806cf209c9 Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Tue, 12 Dec 2023 14:44:16 +0700 Subject: [PATCH] fix: Add cdnrefresh to init-container.sh --- resources/init-container.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/init-container.sh b/resources/init-container.sh index bd6fb0045..c89792c47 100755 --- a/resources/init-container.sh +++ b/resources/init-container.sh @@ -4,5 +4,8 @@ echo "--- Generating Keyboard Cache ---" rm -f keyboard/index.cache cd keyboard php -d include_path=/var/www/html/_includes:. _build_cache.php + +echo "---- Generating CDN ---" +cd ../cdn +php -d include_path=/var/www/html/_includes:. cdnrefresh.php cd .. -# php ./cdn/cdnrefresh.php