Skip to content

Commit

Permalink
relative login link
Browse files Browse the repository at this point in the history
  • Loading branch information
nSedrickm committed Oct 7, 2020
1 parent b071dbb commit 580a472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $("#login_form").on("submit", function (event) {
"username": values[0],
"password": values[1]
}
fetch('http://localhost:8001/login', {
fetch('/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 580a472

Please sign in to comment.