Skip to content

Commit

Permalink
fix(api): change url for request on staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Sep 18, 2024
1 parent c249e13 commit 00d3d37
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13,862 deletions.
Binary file modified bun.lockb
Binary file not shown.
10 changes: 5 additions & 5 deletions client/src/config/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ export const postHeaders = {

export const contributionUrl = isDevelopment
? "http://localhost:3000/api/contribute?max_results=2000"
: "https://ticket-office-api.staging.dataesr.ovh/api/contribute?max_results=2000";
: "https://ticket-office.staging.dataesr.ovh/api/contribute?max_results=2000";

export const contactUrl = isDevelopment
? "http://localhost:3000/api/contact?max_results=2000"
: "https://ticket-office-api.staging.dataesr.ovh/api/contact?max_results=2000";
: "https://ticket-office.staging.dataesr.ovh/api/contact?max_results=2000";

export const productionUrl = isDevelopment
? "http://localhost:3000/api/production?max_results=2000"
: "https://ticket-office-api.staging.dataesr.ovh/api/productionsmax_results=2000";
: "https://ticket-office.staging.dataesr.ovh/api/productionsmax_results=2000";

export const nameChangeUrl = isDevelopment
? "http://localhost:3000/api/update-user-data?max_results=2000"
: "https://ticket-office-api.staging.dataesr.ovh/api/update-user-datamax_results=2000";
: "https://ticket-office.staging.dataesr.ovh/api/update-user-datamax_results=2000";

export const removeUserUrl = isDevelopment
? "http://localhost:3000/api/remove-user?max_results=2000"
: "https://ticket-office-api.staging.dataesr.ovh/api/remove-usermax_results=2000";
: "https://ticket-office.staging.dataesr.ovh/api/remove-usermax_results=2000";
Loading

0 comments on commit 00d3d37

Please sign in to comment.