Added url_tag

This commit is contained in:
Pablo Ferreiro 2022-11-27 00:05:11 +01:00
parent 215f984fe4
commit 0224cd25eb
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
3 changed files with 5 additions and 2 deletions

View file

@ -76,6 +76,9 @@ class Wrappers {
$latte->addFunction('url_user', function (string $username): string {
return UrlBuilder::user($username);
});
$latte->addFunction('url_tag', function (string $tag): string {
return UrlBuilder::tag($tag);
});
$latte->addFunction('url_video_internal', function (string $username, string $id): string {
return UrlBuilder::video_internal($username, $id);
});

View file

@ -1,7 +1,7 @@
{
"name": "pablouser1/proxitok",
"description": "An alternative frontend for TikTok",
"version": "2.4.3.5",
"version": "2.4.3.6",
"license": "AGPL-3.0-or-later",
"type": "project",
"authors": [

2
composer.lock generated
View file

@ -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": "5ed78859acc6f451f60b75dca1887104",
"content-hash": "70740f443fa52ad70a8ceb507c30e801",
"packages": [
{
"name": "bramus/router",