add docker setup
This commit is contained in:
@@ -63,7 +63,7 @@ impl Component for App {
|
||||
fn update(&mut self, msg: Self::Message) -> bool {
|
||||
match msg {
|
||||
Msg::GetPictures => {
|
||||
let request = Request::get("http://localhost/api/pictures/")
|
||||
let request = Request::get("/api/pictures/")
|
||||
.body(Nothing)
|
||||
.expect("Could not build that request");
|
||||
let callback =
|
||||
|
||||
Reference in New Issue
Block a user