Skip to content

Commit c15b3a2

Browse files
committed
url base as env variable
1 parent 316124f commit c15b3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub const ENV: Env = Env {
1515
};
1616

1717
pub const ENDPOINT: Endpoint = Endpoint {
18-
base: "127.0.0.1:8080",
18+
base: dotenv!("URL_BASE"),
1919
github: "/api/github",
2020
lastfm: "/api/lastfm",
2121
letterboxd: "/api/letterboxd",

0 commit comments

Comments
 (0)