🐜 fix: calling hosted api instead of localhost

This commit is contained in:
ysandler 2020-09-15 21:26:22 -05:00 committed by Joshua Shoemaker
parent 881bb1d9ac
commit 5b8e5f2b11

View File

@ -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