Skip to content

Commit

Permalink
Fix backend URL conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhuyn committed Dec 27, 2023
1 parent 0621f83 commit dbb44ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/Api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Scenario } from "./Scenario";

const BACKEND_BASE_URL =
window.location.host === "plakait.com"
window.location.host.includes("plakait")
? new URL("https://plakait-backend-production.up.railway.app/")
: new URL("http://localhost:8000/");

Expand Down

0 comments on commit dbb44ca

Please sign in to comment.