Filters
This commit is contained in:
parent
a5e3fb2850
commit
04f888c323
6 changed files with 182 additions and 69 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue