mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-09-05 17:00:39 +00:00
add config for max views, expiration and advanced
This commit is contained in:
10
backend/src/status/model.rs
Normal file
10
backend/src/status/model.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Status {
|
||||
pub version: String,
|
||||
pub max_size: usize,
|
||||
pub max_views: usize,
|
||||
pub max_expiration: usize,
|
||||
pub allow_advanced: bool,
|
||||
}
|
Reference in New Issue
Block a user