Skip to content

Commit f026a63

Browse files
Update apis.js to port 4000
1 parent 43ea89b commit f026a63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/apis.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios'
22

3-
const baseURL = '/api'
3+
const baseURL = 'http://18.199.101.32:4000'
44

55
export const postTask = async (reqBody) => {
66
const {data} = await axios.post(`${baseURL}/tasks`,reqBody)
@@ -30,4 +30,4 @@ export const getNames = async () => {
3030
export const deleteName = async (nameID) => {
3131
const {data} = await axios.delete(`${baseURL}/names/${nameID}`)
3232
return data
33-
}
33+
}

0 commit comments

Comments
 (0)