- added new pasta type URL and automatic redirection endpoint

- added water.css styling
- added CL argument to set port
- added raw URL to pasta list
This commit is contained in:
Dániel Szabó 2022-04-23 16:47:36 +01:00
parent e8b0e3a482
commit f56ffa98e4
9 changed files with 251 additions and 120 deletions

View file

@ -8,7 +8,8 @@ pub struct Pasta {
pub id: u64,
pub content: String,
pub created: i64,
pub expiration: i64
pub expiration: i64,
pub pasta_type: String
}
#[derive(Deserialize)]