Skip to content

Commit

Permalink
Fix login url
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueDoctor committed May 17, 2024
1 parent 96da03b commit 371518d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod inventories_tab;
mod login_tab;
mod recipes_tab;

const LOGIN_URL: &str = "http://localhost:3000/auth/login";
const LOGIN_URL: &str = "/auth/login";

pub fn frontend_router() -> Router {
let login_url = Arc::new(LOGIN_URL.into());
Expand Down

0 comments on commit 371518d

Please sign in to comment.