From 13418797f3be407b908b332ea5f0137a5092c0c8 Mon Sep 17 00:00:00 2001 From: Dzejkobik007 Date: Wed, 7 Jun 2023 01:11:02 +0200 Subject: [PATCH] Update --- README.md | 2 +- app/forms/download.html | 101 ++++++++++++++++++++++++++++++++++++++++ app/forms/upload.html | 2 +- 3 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 app/forms/download.html diff --git a/README.md b/README.md index 44401b1..383cfd5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A "simple" file sharing platform -# NOT FINISHED, i am doing my best +# UNFINISHED, but working ## Quick start ### Docker diff --git a/app/forms/download.html b/app/forms/download.html new file mode 100644 index 0000000..a78100e --- /dev/null +++ b/app/forms/download.html @@ -0,0 +1,101 @@ + + + + + + + + Kakubovna: Download + + + + + +
+ + + +
+ + + + \ No newline at end of file diff --git a/app/forms/upload.html b/app/forms/upload.html index 0d53f71..f57b312 100644 --- a/app/forms/upload.html +++ b/app/forms/upload.html @@ -90,7 +90,7 @@ } socket.once("linkCreated", (hash, adminhash) => { console.log("Link Created"); - window.location.href = document.location.protocol + "//" + document.location.host + "/api/download/" + hash + '/' + window.location.href = document.location.protocol + "//" + document.location.host + "/download/" + hash + '/' });