Skip to content

Commit

Permalink
change authentication endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jm1021 committed May 25, 2024
1 parent 0151174 commit ffb82d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions navigation/#.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ search_exclude: true
// Set login options
const options = {};
// Authentication endpoint
options.URL = pythonURI + '/api/users/authenticate';
options.URL = pythonURI + '/api/authenticate';
options.callback = pythonDatabase; // method to call on success
options.message = "python-message";
// Set fetch options
Expand All @@ -230,7 +230,7 @@ search_exclude: true
}

function pythonDatabase() {
const URL = pythonURI + '/api/users/';
const URL = pythonURI + '/api/users';
// Define the loginForm and dataTable variables
const loginForm = document.getElementById('pythonForm');
const dataTable = document.getElementById('pythonTable');
Expand Down

0 comments on commit ffb82d6

Please # to comment.