Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
fix: broken fetch due to wrong base API url
Browse files Browse the repository at this point in the history
  • Loading branch information
dalbitresb12 committed May 18, 2022
1 parent 0f4bcb4 commit 1adb530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { Environment } from "./model";
export const environment: Environment = {
production: true,
apiUrlBase:
"https://my-json-server.typicode.com/futureleadersupc/waw-backend-json/",
"https://my-json-server.typicode.com/futureleadersupc/waw-backend-json",
};
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Environment } from "./model";

export const environment: Environment = {
production: false,
apiUrlBase: "http://localhost:4201/",
apiUrlBase: "http://localhost:4201",
};

/*
Expand Down

0 comments on commit 1adb530

Please sign in to comment.