There was an error while loading. Please reload this page.
1 parent 401c7ab commit 32e11c7Copy full SHA for 32e11c7
1 file changed
pointercrate-example/src/main.rs
@@ -66,7 +66,7 @@ impl GeolocationProvider for IpWhoIsGeolocationProvider {
66
#[rocket::launch]
67
async fn rocket() -> _ {
68
// Load the configuration from your .env file
69
- dotenv::dotenv().unwrap();
+ dotenv::dotenv().ok();
70
71
// Initialize a database connection pool to the database specified by the
72
// DATABASE_URL environment variable
@@ -111,4 +111,4 @@ async fn rocket() -> _ {
111
// Register all the endpoints related to the user account system to our server
112
pointercrate_user_api::setup(rocket)
113
114
-}
+}
0 commit comments