Fixes Cors Implementation

This commit is contained in:
2024-03-09 23:50:23 -03:00
parent 2876d83274
commit 28743288cc
12 changed files with 39 additions and 30 deletions

View File

@@ -8,7 +8,7 @@ pub struct ConfigAuth {
#[cached]
pub fn get_config_auth() -> ConfigAuth {
dotenv::dotenv().ok();
dotenvy::dotenv().ok();
let url = env::var("AUTH_URL").expect("AUTH_URL must be set");