projects
/
recipes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b9627d
)
Comment out the DB update/creation call
author
Grégory Burri
<gregory.burri@matisa.ch>
Mon, 9 Sep 2019 07:36:25 +0000
(09:36 +0200)
committer
Grégory Burri
<gregory.burri@matisa.ch>
Mon, 9 Sep 2019 07:36:25 +0000
(09:36 +0200)
backend/src/main.rs
patch
|
blob
|
history
diff --git
a/backend/src/main.rs
b/backend/src/main.rs
index
3063c63
..
a701f72
100644
(file)
--- a/
backend/src/main.rs
+++ b/
backend/src/main.rs
@@
-28,7
+28,7
@@
pub struct Request {
fn main_page(query: Query<Request>) -> Result<HttpResponse> {
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))
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);
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();
std::env::set_var("RUST_LOG", "actix_web=info");
env_logger::init();