Skip to content

Commit b3efcbb

Browse files
committed
Update developmentService and employeeService files
1 parent edfaf08 commit b3efcbb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/services/departmentService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from 'axios';
22

33
// const API_URL = 'https://employee-management-app-gdm5.onrender.com/api/departments';
4-
const API_URL = 'https://localhost:8080/api/departments';
4+
const API_URL = 'http://localhost:8080/api/departments';
55

66
// Get all departments
77
export const getAllDepartments = async () => {

frontend/src/services/employeeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from 'axios';
22

33
// const API_URL = 'https://employee-management-app-gdm5.onrender.com/api/employees';
4-
const API_URL = 'https://localhost:8080/api/employees';
4+
const API_URL = 'http://localhost:8080/api/employees';
55

66
// Get all employees
77
export const getAllEmployees = async () => {

0 commit comments

Comments
 (0)