diff --git a/Dockerfile b/Dockerfile index 3d18497..95d811a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ RUN apt update -y && apt upgrade -y \ COPY . . # Run composer and clean -RUN composer update \ - && composer install --no-interaction --optimize-autoloader --no-dev \ +RUN composer update --no-cache \ + && composer install --no-interaction --optimize-autoloader --no-dev --no-cache \ && apt autoclean -y \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* \ diff --git a/components/feed.latte b/components/feed.latte index 241141c..8cb713f 100644 --- a/components/feed.latte +++ b/components/feed.latte @@ -16,6 +16,9 @@ {/foreach} + {if empty($feed->items)} +

No items sent by TikTok!

+ {/if}
{if isset($_GET['cursor']) && $_GET['cursor'] != 0 } diff --git a/composer.lock b/composer.lock index 062e8df..555de6e 100644 --- a/composer.lock +++ b/composer.lock @@ -306,16 +306,16 @@ }, { "name": "pablouser1/tikscraper", - "version": "v1.3.0.3", + "version": "v1.3.0.5", "source": { "type": "git", "url": "https://github.com/pablouser1/TikScraperPHP.git", - "reference": "793dde26e17362af304b9f50890c7fc178387629" + "reference": "6a13c165f73e0924d9d8d52dd8987fa848795b2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/793dde26e17362af304b9f50890c7fc178387629", - "reference": "793dde26e17362af304b9f50890c7fc178387629", + "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/6a13c165f73e0924d9d8d52dd8987fa848795b2c", + "reference": "6a13c165f73e0924d9d8d52dd8987fa848795b2c", "shasum": "" }, "require": { @@ -341,9 +341,9 @@ "description": "Get data from TikTok API", "support": { "issues": "https://github.com/pablouser1/TikScraperPHP/issues", - "source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.3.0.3" + "source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.3.0.5" }, - "time": "2022-03-13T20:53:27+00:00" + "time": "2022-03-18T13:43:50+00:00" }, { "name": "php-webdriver/webdriver", diff --git a/views/about.latte b/views/about.latte index 85be629..4b6be56 100644 --- a/views/about.latte +++ b/views/about.latte @@ -24,7 +24,7 @@

This project wouldn't be possible without the help of the following projects: