We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edfaf08 commit b3efcbbCopy full SHA for b3efcbb
2 files changed
frontend/src/services/departmentService.js
@@ -1,7 +1,7 @@
1
import axios from 'axios';
2
3
// const API_URL = 'https://employee-management-app-gdm5.onrender.com/api/departments';
4
-const API_URL = 'https://localhost:8080/api/departments';
+const API_URL = 'http://localhost:8080/api/departments';
5
6
// Get all departments
7
export const getAllDepartments = async () => {
frontend/src/services/employeeService.js
// const API_URL = 'https://employee-management-app-gdm5.onrender.com/api/employees';
-const API_URL = 'https://localhost:8080/api/employees';
+const API_URL = 'http://localhost:8080/api/employees';
// Get all employees
export const getAllEmployees = async () => {
0 commit comments