extern crate dotenv;
extern crate schani_store;

fn main() {
    dotenv::dotenv().unwrap();

    let app = schani_store::StoreWebApp::new("http://127.0.0.1:9100".parse().unwrap());
    app.run();
}

extern crate dotenv;
extern crate schani_store;

fn main() {
    if dotenv::dotenv().is_err() {
        println!("No .env found, relying solely on env vars.");
    }

    let app = schani_store::StoreWebApp::new("http://127.0.0.1:9100".parse().unwrap());
    app.run();
}

Fix panic if .env is missing
Fix panic if .env is missing

Signed-off-by: Christoph Wurst <7abde52c298496fa169fb750f91f213a282142af@winzerhof-wurst.at>
