🐜 fix: calling hosted api instead of localhost
This commit is contained in:
parent
881bb1d9ac
commit
5b8e5f2b11
@ -5,7 +5,7 @@ import CourseProvider from '../Entities/CourseProvider'
|
||||
function setupCoursesTree (): void {
|
||||
let courses: any
|
||||
try {
|
||||
axios.get('http://localhost:5000/api/courses')
|
||||
axios.get('https://brightscreen.io/api/courses')
|
||||
.then(response => {
|
||||
console.log(response.data)
|
||||
courses = response.data
|
||||
|
Loading…
x
Reference in New Issue
Block a user