Comment out the DB update/creation call
This commit is contained in:
parent
2b9627d526
commit
ef7633ea50
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ pub struct Request {
|
|||
|
||||
fn main_page(query: Query<Request>) -> Result<HttpResponse> {
|
||||
|
||||
let main_template = MainTemplate { test: &"test" };
|
||||
let main_template = MainTemplate { test: &"* test *" };
|
||||
|
||||
let s = main_template.render().unwrap();
|
||||
Ok(HttpResponse::Ok().content_type("text/html").body(s))
|
||||
|
|
@ -60,7 +60,7 @@ fn main() -> std::io::Result<()> {
|
|||
|
||||
println!("Configuration: {:?}", config);
|
||||
|
||||
let database_connection = db::create_or_update();
|
||||
// let database_connection = db::create_or_update();
|
||||
|
||||
std::env::set_var("RUST_LOG", "actix_web=info");
|
||||
env_logger::init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue