Fix login API endpoint path by removing redundant 'admin/' prefix
This commit is contained in:
		@@ -57,7 +57,7 @@
 | 
			
		||||
function login() {
 | 
			
		||||
    const password = document.getElementById('password').value;
 | 
			
		||||
 | 
			
		||||
    fetch('admin/api/login', {
 | 
			
		||||
    fetch('api/login', {
 | 
			
		||||
        method: 'POST',
 | 
			
		||||
        headers: {
 | 
			
		||||
            'Content-Type': 'application/json'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user