Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Oct 9, 2024
1 parent 010f859 commit 6363c2f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
VITE_APP_NAME="DOADIFY PRODUCTION"
VITE_HEADER_TAG=
VITE_BASE_API_URL="https://ticket-office.dataesr.ovh"
1 change: 0 additions & 1 deletion .env.staging
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
VITE_APP_NAME="DOADIFY STAGING"
VITE_HEADER_TAG=Staging
VITE_BASE_API_URL="https://ticket-office.staging.dataesr.ovh"
1 change: 1 addition & 0 deletions client/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_BASE_API_URL="https://ticket-office.dataesr.ovh"
1 change: 1 addition & 0 deletions client/.env.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_BASE_API_URL="https://ticket-office.staging.dataesr.ovh"
2 changes: 1 addition & 1 deletion client/src/config/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const url = import.meta.env.VITE_BASE_API_URL || "";
export const contributionUrl = isDevelopment
? "http://localhost:3000/api/contribute?max_results=2000"
: `${url}/api/contribute?max_results=2000`;

export const contactUrl = isDevelopment
? "http://localhost:3000/api/contacts?max_results=2000"
: `${url}/api/contacts?max_results=2000`;
console.log(contactURl);

export const productionUrl = isDevelopment
? "http://localhost:3000/api/production?max_results=2000"
Expand Down

0 comments on commit 6363c2f

Please sign in to comment.