diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 08d39a9..4a4cb09 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -20,6 +20,6 @@ jobs: - name: Create Release uses: ncipollo/release-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} tag: v${{steps.version.outputs.prop}} + token: ${{ secrets.GITHUB_TOKEN }} allowUpdates: true diff --git a/app/Controllers/ProxyController.php b/app/Controllers/ProxyController.php index 494c29e..40d6cdc 100644 --- a/app/Controllers/ProxyController.php +++ b/app/Controllers/ProxyController.php @@ -25,7 +25,11 @@ class ProxyController { if (isset($_GET['download'])) { // Download $downloader = new \Sovit\TikTok\Download(); - $downloader->url($url, "tiktok-video", 'mp4'); + $filename = 'tiktok-video'; + if (isset($_GET['id'])) { + $filename .= '-' . $_GET['id']; + } + $downloader->url($url, $filename, 'mp4'); } else { // Stream $streamer = new \Sovit\TikTok\Stream(); diff --git a/components/feed.latte b/components/feed.latte index fb0d89c..1c5a4ee 100644 --- a/components/feed.latte +++ b/components/feed.latte @@ -6,7 +6,7 @@
@@ -17,11 +17,11 @@ {/foreach}
- {if isset($_GET['cursor']) && $_GET['cursor'] != 0} - First - Back + {if isset($_GET['cursor']) && $_GET['cursor'] != 0 } + First + {/if} - Next + Next
diff --git a/composer.json b/composer.json index e696d9d..337e02f 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "pablouser1/proxitok", "description": "An alternative frontend for TikTok", - "version": "1.4.1", + "version": "1.4.1.1", "license": "AGPL-3.0-or-later", "type": "project", "homepage": "https://github.com/pablouser1/ProxiTok", diff --git a/composer.lock b/composer.lock index d972824..0cb5f26 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": "b40da817e3b81d14a1ed55aad52cf434", + "content-hash": "275eed5df34976f1f82201b8aef4bddd", "packages": [ { "name": "bramus/router",