added nested routes, added separate config struct, among other items

This commit is contained in:
wymiller committed 2024-09-24 20:26:15 -04:00
1 parent cf199ab48a
commit 845f058568
7 files changed
+164 -23

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
use std::path::PathBuf;
pub fn config() -> Configuration {
Configuration {
env: dotenvy::dotenv(),
}
}
pub struct Configuration {
env: Result<PathBuf, dotenvy::Error>,
}