Files
my-website-v2/backend/task/src/config.rs
T
wymiller 4762a28cc2
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 22m5s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Failing after 24m27s
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Failing after 17m2s
Build and Release Docker Images / create-release (push) Has been skipped
added config file to task
2025-07-19 22:26:52 -04:00

12 lines
192 B
Rust

use std::path::PathBuf;
pub fn config() -> Configuration {
Configuration {
env: dotenvy::dotenv(),
}
}
pub struct Configuration {
env: Result<PathBuf, dotenvy::Error>,
}