-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created uploaders page, changed file delete method to GET
- Loading branch information
1 parent
0acb971
commit e65777f
Showing
9 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"Version": "15.0.0", | ||
"Name": "File uploader", | ||
"DestinationType": "ImageUploader, FileUploader", | ||
"RequestMethod": "POST", | ||
"RequestURL": "https://fu.andcool.ru/api/upload", | ||
"Parameters": { | ||
"include_ext": "true" | ||
}, | ||
"Body": "MultipartFormData", | ||
"FileFormName": "file", | ||
"URL": "{json:file_url_full}", | ||
"DeletionURL": "https://fu.andcool.ru/api/delete/{json:file_url}?key={json:key}", | ||
"ErrorMessage": "{json:message}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>File uploader</title> | ||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | ||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Roboto+Mono&display=swap" rel="stylesheet"> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
<link rel="stylesheet" href="../style.css"> | ||
<link rel="stylesheet" href="style.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
</head> | ||
|
||
|
||
<body> | ||
<main> | ||
<h1>File uploader</h1> | ||
<nav> | ||
<a href="https://fu.andcool.ru">Home</a> | ||
<a id="login_page_a" href="https://fu.andcool.ru/tos/">ToS</a> | ||
<a id="login_page_a" class="selected">Uploaders</a> | ||
<a href="https://github.com/Andcool-Systems/File-uploader" target="_blank">GitHub</a> | ||
</nav> | ||
<hr> | ||
<p style="margin-top: 0%;font-size: 80%;">by AndcoolSystems</p> | ||
<h2 style="font-weight: 600;">ShareX</h2> | ||
<p id="sharex"><a href="/uploaders/File uploader.sxcu" download="File uploader.sxcu">Click here</a> to download the ShareX config</p> | ||
|
||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
h2{ | ||
margin-bottom: 1%; | ||
} | ||
|
||
#sharex{ | ||
margin: 0%; | ||
margin-left: 15px; | ||
} | ||
|
||
#sharex a{ | ||
color:white; | ||
text-decoration: underline; | ||
|
||
} |