We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb225c commit 50b34faCopy full SHA for 50b34fa
1 file changed
frontend/src/app/services/tutorial.service.ts
@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http';
3
import { Observable } from 'rxjs';
4
import { Tutorial } from '../models/tutorial.model';
5
6
-const baseUrl = 'http://localhost:8080/api/tutorials';
+const baseUrl = '/api/tutorials';
7
8
@Injectable({
9
providedIn: 'root'
@@ -39,4 +39,4 @@ export class TutorialService {
39
findByTitle(title: any): Observable<Tutorial[]> {
40
return this.http.get<Tutorial[]>(`${baseUrl}?title=${title}`);
41
}
42
-}
+}
0 commit comments