Skip to content

Commit

Permalink
fix: api gql endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Feb 14, 2024
1 parent 9400243 commit 5d52a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/env/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const AUTH_SIGNUP_ENABLED = Boolean(process.env.AUTH_SIGNUP_ENABLED);
export const JWT_EXPIRATION_PERIOD: string = getJwtExpirationPeriod();
export const API_ORIGIN = process.env.API_ORIGIN || `http://localhost:${PORT}`;
export const API_GQL_ENDPOINT =
process.env.API_GQL_ENDPOINT || `${API_ORIGIN}`;
process.env.API_GQL_ENDPOINT || `${API_ORIGIN}/drives`;
export const CORS_ORIGINS = process.env.ORIGINS?.split(",") ?? [
"https://studio.apollographql.com",
"https://ph-switchboard-nginx-prod-c84ebf8c6e3b.herokuapp.com",
Expand Down

0 comments on commit 5d52a91

Please sign in to comment.