From 9bf28fbc8330c04aa6e4fdb5d1e4d5f737e54346 Mon Sep 17 00:00:00 2001 From: creme Date: Sat, 13 Jan 2024 06:20:23 +0100 Subject: [PATCH] fix 0file alias --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 62bdf99..a1c0784 100644 --- a/templates/index.html +++ b/templates/index.html @@ -102,7 +102,7 @@ you can also support it solidarity. more about:
 to make your life easier, you can add aliases to your .bash_aliases on Linux
 and .bash_profile on Mac OS X. just remember to reset your terminal session after that.
-0file() { curl -F"file=@$1" {0} ; }
+0file() { curl -F"file=@$1" {{ fhost_url }} ; }
 0pb() { curl -F"file=@-;" {{ fhost_url }} ; }
 0url() { curl -F"url=$1" {{ fhost_url }} ; }
 0short() { curl -F"shorten=$1" {{ fhost_url }} ; }