From 62ead2b2fe666c80542c30b55756a5aef0faae3a Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Tue, 30 Apr 2024 14:21:08 +0530 Subject: [PATCH] added api versions --- src/app/services/cv.service.ts | 12 ++++++------ src/environments/environment.ts | 2 +- src/index.html | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/services/cv.service.ts b/src/app/services/cv.service.ts index a0b7ea8..ac2be0a 100644 --- a/src/app/services/cv.service.ts +++ b/src/app/services/cv.service.ts @@ -26,41 +26,41 @@ export class CvService { if(this.cv != null){ return of(this.cv); } - return this.http.get(`/api/cv/${candidateId}`); + return this.http.get(`/api/v0.1/cv/${candidateId}`); } getHobbies(candidateId: number): Observable{ if(this.about != null){ return of(this.about); } - return this.http.get(`/api/cv/GetHobbies/${candidateId}`); + return this.http.get(`/api/v1/cv/GetHobbies/${candidateId}`); } getCandidateWithSocialLinks(candidateId: number): Observable{ if(this.candidateAndSocialLinks != null){ return of(this.candidateAndSocialLinks); } - return this.http.get(`/api/cv/GetCandidateWithSocialLinks/${candidateId}`); + return this.http.get(`/api/v1/cv/GetCandidateWithSocialLinks/${candidateId}`); } getResume(candidateId: number): Observable{ if(this.resume != null){ return of(this.resume); } - return this.http.get(`/api/cv/GetResume/${candidateId}`); + return this.http.get(`/api/v1/cv/GetResume/${candidateId}`); } getProjects(candidateId: number): Observable{ if(this.projects != null){ return of(this.projects); } - return this.http.get(`/api/cv/GetProjects/${candidateId}`); + return this.http.get(`/api/v1/cv/GetProjects/${candidateId}`); } getBlog(candidateId: number): Observable{ if(this.blog != null){ return of(this.blog); } - return this.http.get(`/api/cv/GetBlog/${candidateId}`); + return this.http.get(`/api/v1/cv/GetBlog/${candidateId}`); } } diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 0935523..d8f088d 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,5 +1,5 @@ export const environment = { apiUrl: 'https://localhost:7013', blogImagesUrl: 'https://bangararaju-uat.kottedi.in/blog/assets/img/posts/', - apiKey: "" + apiKey: "c6eAXYcNT873TT7BfMgQyS4ii7hxa53TLEUN7pAGaaU=" }; diff --git a/src/index.html b/src/index.html index 7470245..10e999f 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - My Portfolio + Bangara Raju Kottedi