add docker setup

This commit is contained in:
Johannes Heuel
2022-06-26 15:25:39 +02:00
parent 9449d992c0
commit 9b8e38eca6
3 changed files with 30 additions and 10 deletions

View File

@@ -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 =