Skip to content

Commit

Permalink
Update API_BASE_URL in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jthoward64 committed Nov 22, 2023
1 parent 8cee588 commit 2c8f736
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/portal/src/config/api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const API_BASE_URL = window.location.href.includes("localhost")
? "http://localhost:8000"
: "https://app.danceblue.org";
export const API_BASE_URL =
import.meta.env.MODE !== "development"
? "http://localhost:8000"
: "https://app.danceblue.org";

0 comments on commit 2c8f736

Please sign in to comment.