added nested routes, added separate config struct, among other items
This commit is contained in:
1 parent
cf199ab48a
commit
845f058568
7 files changed
+164
-23
No files matched your search
@@ -0,0 +1,11 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub fn config() -> Configuration {
|
||||
Configuration {
|
||||
env: dotenvy::dotenv(),
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Configuration {
|
||||
env: Result<PathBuf, dotenvy::Error>,
|
||||
}
|
||||
Reference in new issue
Block a user