🐜 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 {
|
function setupCoursesTree (): void {
|
||||||
let courses: any
|
let courses: any
|
||||||
try {
|
try {
|
||||||
axios.get('http://localhost:5000/api/courses')
|
axios.get('https://brightscreen.io/api/courses')
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log(response.data)
|
console.log(response.data)
|
||||||
courses = response.data
|
courses = response.data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user