adds cors to test in dev environment

This commit is contained in:
2019-07-03 14:32:35 +02:00
parent c95c13bf18
commit b8968aebbd
5 changed files with 19 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ extern crate lootalot_db;
mod server;
fn main() {
std::env::set_var("RUST_LOG", "actix_web=info");
env_logger::init();
dotenv::dotenv().ok();
// TODO: Build a cli app with complete support of DbApi