From 8c32797fb928398661abf60d1d2dc973d6e87d29 Mon Sep 17 00:00:00 2001 From: Beu Date: Tue, 15 Dec 2020 01:53:49 +0100 Subject: [PATCH] change id in the explaination section --- front.php | 6 +++--- script.js | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/front.php b/front.php index 87fb7df..38e98c7 100644 --- a/front.php +++ b/front.php @@ -37,8 +37,8 @@ To upload file (max ):
  • wget -q --body-file='./my_file' --method=PUT -O -

    To download file :
    -
  • curl -OJ
    -
  • wget --content-disposition +
  • curl -OJ
    +
  • wget --content-disposition @@ -47,4 +47,4 @@ File transfer was created by @AmazingBe - \ No newline at end of file + diff --git a/script.js b/script.js index 56fcfdb..5d70886 100644 --- a/script.js +++ b/script.js @@ -42,6 +42,12 @@ function upload_file(file_obj,file_name) divresponse.innerHTML = text ; document.getElementById('copytoclipboard').style.visibility = "visible"; + if (text.startsWith("http")) { + var fturl = document.getElementsByTagName("fturl"); + console.log(fturl); + Array.from(fturl).forEach(tag => tag.innerHTML = text); + } + } request();