tangled
alpha
login
or
join now
ericwood.org
/
photos-site
1
fork
atom
A little app to serve my photography from my personal website
1
fork
atom
overview
issues
pulls
pipelines
don't panic if we can't load the .env file
ericwood.org
4 months ago
bb4fcfd7
96a08869
0/0
Waiting for spindle ...
+1
-1
1 changed file
expand all
collapse all
unified
split
src
main.rs
+1
-1
src/main.rs
···
21
21
22
22
#[tokio::main]
23
23
async fn main() -> anyhow::Result<()> {
24
24
-
dotenv()?;
24
24
+
let _ = dotenv();
25
25
let pool = SqlitePool::connect(&env::var("DATABASE_URL")?)
26
26
.await
27
27
.expect("Where's the database???");