refactor admin router into separate file

also set admin secret using command line args
This commit is contained in:
2025-07-24 17:33:22 +01:00
parent 9328451a25
commit a69cf540fe
7 changed files with 269 additions and 106 deletions

View File

@ -1,3 +1,5 @@
mod config;
mod router;
pub use config::Config;
pub use router::app;