diff --git a/.gitignore b/.gitignore index ea8c4bf..6351287 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +/Files/posts.json diff --git a/Files/header.html b/Files/header.html index 0a9dd0d..86fb6d5 100644 --- a/Files/header.html +++ b/Files/header.html @@ -14,7 +14,8 @@ padding-top: 50px; } - h1 { + h1, + h2{ color: orange; } diff --git a/Files/index.html b/Files/index.html index 084066c..9001915 100644 --- a/Files/index.html +++ b/Files/index.html @@ -125,10 +125,10 @@
- + - + diff --git a/Files/posts.json b/Files/posts.json index e69de29..8b10bf5 100644 --- a/Files/posts.json +++ b/Files/posts.json @@ -0,0 +1 @@ +{"name":"qzdqzd","crypt":"EFOUHjEiFhRorSgOQAgOgA==","date":"03/07/2023@18:45:45","id":11295522918797061807} diff --git a/sqpad b/sqpad index ad9f708..73a1b77 100755 Binary files a/sqpad and b/sqpad differ diff --git a/src/main.rs b/src/main.rs index 97081ba..a638034 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,9 +123,9 @@ async fn show_post(path: web::Path<(u64, String)>, req: HttpRequest) -> impl Res } let _ = &mut ret_text.push_str(&format!("\n\ -This is the link to your post. Don't lose it !\ -It can also be accessed raw using Curl or Wget.
\n\ ->{} @{}

\n
\n", post.name, post.date));
+Save the link to this page ! We will not store it anywhere.

\ +This page can be also be accessed using curl or wget.
\n\ +

{}

\n{}

\n
\n", post.name, post.date));
 
             let _ = match decrypt(post.crypt, &password) {
                 Ok(v) => {