Skip to content

Commit

Permalink
hot fix wp api url
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtsar committed Nov 1, 2022
1 parent 413b60e commit 5eed779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/static_content.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class StaticContentService {//extends IStaticContentService {
}

getWPContent(pageId): Observable<any> {
return this.http.get<any>(environment.staticUrl + "/pages/" + pageId);
return this.http.get<any>("https://wp.synergatika.gr/wp-json/wp/v2/pages/" + pageId);
}

// return new Promise<boolean>((resolve) => {
Expand Down

0 comments on commit 5eed779

Please sign in to comment.