diff --git a/gleam.toml b/gleam.toml index 3d8caa5..c3c548e 100644 --- a/gleam.toml +++ b/gleam.toml @@ -18,6 +18,9 @@ lucide_lustre = ">= 2.0.3 and < 3.0.0" [lucide_lustre] output_module = "client/icon" +[tools.lustre.dev] +proxy = { from = "/api", to = "http://localhost:8000/api" } + [tools.lustre.html] title = "BFD" stylesheets = [{ href = "https://unpkg.com/@knadh/oat/oat.min.css" }] diff --git a/src/client/page/login.gleam b/src/client/page/login.gleam index 2762023..8a1a109 100644 --- a/src/client/page/login.gleam +++ b/src/client/page/login.gleam @@ -69,7 +69,7 @@ pub fn update(model: Model, message: Message) -> LoginStep { let body = json.object([ #("email", json.string(model.email)), - #("password", json.string(model.password)), + #("senha", json.string(model.password)), ]) let effect =