forked from jmug/stoatchat
chore: refactor generic web server code into quark
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
use crate::Database;
|
||||
use rocket::State;
|
||||
|
||||
pub mod cors;
|
||||
pub mod idempotency;
|
||||
pub mod ratelimiter;
|
||||
pub mod swagger;
|
||||
|
||||
pub use rocket_empty::EmptyResponse;
|
||||
pub type Db = State<Database>;
|
||||
|
||||
Reference in New Issue
Block a user