This commit is contained in:
Bad Manners 2025-04-08 20:07:21 -03:00
parent a5e3fb2850
commit 04f888c323
6 changed files with 182 additions and 69 deletions

View file

@ -29,6 +29,9 @@ use crate::views::{
submit_post_details, upload, view_post,
};
pub(crate) const NEGATIVE_PREFIX: &str = "-";
pub(crate) const RATING_PREFIX: &str = "rating:";
#[derive(Clone)]
pub(crate) struct AppState {
files_dir: Arc<String>,