File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ POSTGRES_DB=
5
5
POSTGRES_HOST = localhost
6
6
7
7
# Root env
8
- DATABASE_URL = postgresql://${ POSTGRES_USER } :${ POSTGRES_PASSWORD } @${ POSTGRES_HOST } :5432/${ POSTGRES_DB }
8
+ ROOT_DB_URL = postgresql://${ POSTGRES_USER } :${ POSTGRES_PASSWORD } @${ POSTGRES_HOST } :5432/${ POSTGRES_DB }
9
9
RUST_ENV = development
10
10
ROOT_SECRET = insecuresecret123 # Used to verify origin of attendance mutations
11
11
ROOT_PORT = 3000
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ impl Config {
31
31
Self {
32
32
env : std:: env:: var ( "ROOT_ENV" ) . unwrap_or_else ( |_| "development" . to_string ( ) ) ,
33
33
secret_key : std:: env:: var ( "ROOT_SECRET" ) . expect ( "ROOT_SECRET must be set." ) ,
34
- database_url : std:: env:: var ( "DATABASE_URL " ) . expect ( "DATABASE_URL must be set." ) ,
34
+ database_url : std:: env:: var ( "ROOT_DB_URL " ) . expect ( "ROOT_DB_URL must be set." ) ,
35
35
port : std:: env:: var ( "ROOT_PORT" ) . expect ( "ROOT_PORT must be set." ) ,
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments