Skip to content

Commit 32e11c7

Browse files
committed
Update main.rs
1 parent 401c7ab commit 32e11c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pointercrate-example/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl GeolocationProvider for IpWhoIsGeolocationProvider {
6666
#[rocket::launch]
6767
async fn rocket() -> _ {
6868
// Load the configuration from your .env file
69-
dotenv::dotenv().unwrap();
69+
dotenv::dotenv().ok();
7070

7171
// Initialize a database connection pool to the database specified by the
7272
// DATABASE_URL environment variable
@@ -111,4 +111,4 @@ async fn rocket() -> _ {
111111
// Register all the endpoints related to the user account system to our server
112112
pointercrate_user_api::setup(rocket)
113113

114-
}
114+
}

0 commit comments

Comments
 (0)