From d52dc8687f4f4d62fa4cd5fbd2b15e895af97218 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Sun, 3 Jul 2022 18:19:10 +0200 Subject: [PATCH] Some anti-crash fixes --- .env.example | 2 +- Procfile | 2 +- composer.json | 2 +- composer.lock | 16 +++++++++------- scss/README.md | 6 +++--- setup/{nginx_heroku.conf => heroku/nginx.conf} | 0 views/about.latte | 4 ++-- 7 files changed, 17 insertions(+), 15 deletions(-) rename setup/{nginx_heroku.conf => heroku/nginx.conf} (100%) diff --git a/.env.example b/.env.example index a7c0656..b1b51fc 100644 --- a/.env.example +++ b/.env.example @@ -4,7 +4,7 @@ # API CONFIG # API_SIGNER_URL="https://example.com" # External signing service # API_BROWSER_URL="http://localhost:4444" # chromedriver url -# API_TEST_ENDPOINTS=true # Discomment for usage of testing TikTok endpoints, may help sometimes +# API_TEST_ENDPOINTS=true # Uncomment for usage of testing TikTok endpoints, may help sometimes # API_CACHE=redis # Redis cache, used on Helpers\CacheEngines\RedisCache (CHOOSE ONE) diff --git a/Procfile b/Procfile index 361b006..334a218 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx -C setup/nginx_heroku.conf +web: vendor/bin/heroku-php-nginx -C setup/heroku/nginx.conf diff --git a/composer.json b/composer.json index fb3fb25..45ad78a 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "pablouser1/proxitok", "description": "An alternative frontend for TikTok", - "version": "2.3.2.0", + "version": "2.3.2.1", "license": "AGPL-3.0-or-later", "type": "project", "authors": [ diff --git a/composer.lock b/composer.lock index 6f659c8..364f8a1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5c6b3247dd4d2f94f65a47d2eb39717a", + "content-hash": "15ff00ea59afbf0d6d064d4cbefb05fb", "packages": [ { "name": "bramus/router", @@ -263,19 +263,21 @@ }, { "name": "pablouser1/tikscraper", - "version": "v2.1.0.2", + "version": "v2.1.1.0", "source": { "type": "git", "url": "https://github.com/pablouser1/TikScraperPHP.git", - "reference": "1d330412c4767e3e4f9131ff54ccde18e60407c5" + "reference": "4aa97bbcb54f1d1677830acd2fae5b6c8f22c699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/1d330412c4767e3e4f9131ff54ccde18e60407c5", - "reference": "1d330412c4767e3e4f9131ff54ccde18e60407c5", + "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/4aa97bbcb54f1d1677830acd2fae5b6c8f22c699", + "reference": "4aa97bbcb54f1d1677830acd2fae5b6c8f22c699", "shasum": "" }, "require": { + "ext-curl": "*", + "ext-json": "*", "ext-xml": "*", "php": ">=7.4|^8.0", "php-webdriver/webdriver": "^1.12", @@ -302,9 +304,9 @@ "description": "Get data from TikTok API", "support": { "issues": "https://github.com/pablouser1/TikScraperPHP/issues", - "source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.1.0.2" + "source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.1.1.0" }, - "time": "2022-06-16T09:17:37+00:00" + "time": "2022-07-03T16:07:00+00:00" }, { "name": "php-webdriver/webdriver", diff --git a/scss/README.md b/scss/README.md index 8d81424..3629c5b 100644 --- a/scss/README.md +++ b/scss/README.md @@ -1,11 +1,11 @@ -This facilities making the bulma.min.css and fontawesome.min.css files, install all dependencies using: +This facilities making the compressed bulma.min.css and cssgg.min.css files, install all dependencies using: ``` yarn install ``` And then use: ``` -yarn bulma && yarn fa +yarn bulma && yarn cssgg ``` -This compiles bulma.scss and fontawesome.scss to a css file and helps lowering the size of the css that will be sent to the user. +This compiles bulma.scss and cssgg.scss to a css file and helps lowering the size of the css that will be sent to the user. diff --git a/setup/nginx_heroku.conf b/setup/heroku/nginx.conf similarity index 100% rename from setup/nginx_heroku.conf rename to setup/heroku/nginx.conf diff --git a/views/about.latte b/views/about.latte index 4c214b0..b64189b 100644 --- a/views/about.latte +++ b/views/about.latte @@ -1,7 +1,7 @@ {layout '../layouts/default.latte'} {block header} -

Welcome to Proxitok!

+

Welcome to ProxiTok!

Made with in Github

@@ -29,7 +29,7 @@
  • TikScraperPHP
  • Latte
  • bramus/router
  • -
  • PHP dotenv
  • +
  • php-dotenv
  • Bulma and Bulmaswatch