From c3ad6849a42d18ff5b44a2e06c87406d1744d7f4 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 14 Oct 2020 09:33:57 +0200 Subject: [PATCH] Update wyz bash function. --- paste/templates/paste/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paste/templates/paste/index.html b/paste/templates/paste/index.html index 678c091..c42eb73 100644 --- a/paste/templates/paste/index.html +++ b/paste/templates/paste/index.html @@ -93,7 +93,7 @@ You may even use a bash function:
wyz()
 {
-    curl {{ absolute_index_url }} -Fpython=@$1
+    curl https://wyz.fr/ -F"${1##*.}=@$1"
 }