From c15b3a21a1c6ba889922713f029e17523fa7b308 Mon Sep 17 00:00:00 2001 From: wyatt-avilla Date: Fri, 21 Jun 2024 13:00:10 -0700 Subject: [PATCH] url base as env variable --- config/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/lib.rs b/config/src/lib.rs index 408962f..d8271fc 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -15,7 +15,7 @@ pub const ENV: Env = Env { }; pub const ENDPOINT: Endpoint = Endpoint { - base: "127.0.0.1:8080", + base: dotenv!("URL_BASE"), github: "/api/github", lastfm: "/api/lastfm", letterboxd: "/api/letterboxd",