Skip to content

Commit

Permalink
add versionning backend
Browse files Browse the repository at this point in the history
  • Loading branch information
FazCodeFR committed Oct 31, 2023
1 parent 8a3565b commit 5a4315e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/services/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { HttpClient } from '@angular/common/http';
import { Observable, map, share, take } from 'rxjs';

@Injectable({
providedIn: 'root'
providedIn: 'root',
})
export class AppService {
api = 'http://localhost:3000/';
api = 'http://localhost:3000/v1';

constructor(private http: HttpClient) {}

getHome(): Observable<any> {
return this.http.get(this.api).pipe(
map((res: any) => res),
Expand Down

0 comments on commit 5a4315e

Please sign in to comment.