-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code revamp, missing dir/db fault tolerance, frontend changes, misc c…
…leanup
- Loading branch information
delorean
committed
Dec 12, 2023
1 parent
979c7e3
commit f15f9de
Showing
5 changed files
with
70 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
files/ | ||
files/ | ||
*.db |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ vhost = "hardfiles.org" | |
dbfile = "dbfile.db" | ||
filelen = 6 | ||
folder = "files" | ||
fileexpiry = 86400 | ||
ttl_seconds = 86400 |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html style="overflow: hidden;"> | ||
<head> | ||
<script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="fist.ico"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap" rel="stylesheet"> | ||
<link rel="icon" href="fist.ico"> | ||
<title>HARDFILES</title> | ||
<style> | ||
body { | ||
|
@@ -16,6 +13,7 @@ | |
} | ||
@media (prefers-color-scheme: dark) { | ||
body { | ||
overflow: hidden; | ||
background: black; | ||
background-image: url('https://media.tenor.com/fYnd0R6F-0UAAAAC/gun-revolver.gif'); | ||
background-size: cover; | ||
|
@@ -122,7 +120,6 @@ | |
<body> | ||
<div class="container"> | ||
<img src="header.png" width="50%" alt="supernets" style="margin-top: 10rem;"> | ||
<!-- <h1 class="hf" style=" color: #660000; font-weight: 800; font-family: 'Black Ops One', cursive; margin-bottom: 0 !important; margin-top: 5rem !important;">HARDFILES</h1> --> | ||
<h2 style="font-size: 1em; color: #ffffff; font-weight: 200;">curl -F [email protected] https://hardfiles.org/</h1> | ||
<form method="POST" class="subform" enctype="multipart/form-data"> | ||
<div class="file-upload" style="display: flex; justify-content: center; width: 25rem;"> | ||
|
@@ -135,6 +132,14 @@ <h2 style="font-size: 1em; color: #ffffff; font-weight: 200;">curl -F file=@exam | |
</div> | ||
</form> | ||
<p style="color: white; font-weight: 300;">⚠️ Uploads are erased after 24 hours</p> | ||
|
||
</div> | ||
<div style="position: relative;"> | ||
<a href="https://supernets.org/" target="_blank" style="position: absolute; bottom: 10px; right:10px; display: flex; align-items: center; text-decoration: none;"> | ||
<p style="font-weight:200; color:#ffffff">A SUPERNETS</p> | ||
<img src="https://git.supernets.org/assets/img/logo.png" width="30px" style="margin: 0 5px;"> | ||
<p style="font-weight:200; color: #ffffff">SERVICE</p> | ||
</a> | ||
</div> | ||
</body> | ||
</html> | ||
|