Skip to content

Commit

Permalink
Merge pull request #21 from badgeteam/fix/update-urls
Browse files Browse the repository at this point in the history
Update api url to badgehub-api.p1m.nl
  • Loading branch information
edwinm authored Jan 6, 2025
2 parents 5e7d435 + 058aecc commit c9f727c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion orval.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import dotenv from "dotenv";
dotenv.config();

const baseUrl =
process.env.BADGEHUB_API_BASEURL || "https://api-staging.badgehub.nl";
process.env.BADGEHUB_API_BASEURL || "https://badgehub-api.p1m.nl";

const swaggerUrl = `${baseUrl}/swagger.json`;

Expand Down
2 changes: 1 addition & 1 deletion src/fetch-from-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getBody = <T>(c: Response | Request): Promise<T> => {
};

const baseUrl =
process.env.BADGEHUB_API_BASEURL || "https://api-staging.badgehub.nl";
process.env.BADGEHUB_API_BASEURL || "https://badgehub-api.p1m.nl/";
const getUrl = (contextUrl: string): string => {
return baseUrl + contextUrl;
};
Expand Down

0 comments on commit c9f727c

Please sign in to comment.