Skip to content

Commit

Permalink
Update getDomain.js
Browse files Browse the repository at this point in the history
  • Loading branch information
petertheprocess authored May 24, 2024
1 parent 3ab6169 commit 7cb280b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/helpers/getDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ import { isProduction } from "./isProduction"
* @returns {string}
*/
export const getDomain = () => {
// const prodUrl = "https://sopra-fs24-group-09-server.oa.r.appspot.com/" // TODO: insert your prod url for server (once deployed)
const prodUrl = "https://sopra-fs24-group-09-server.oa.r.appspot.com/"
const devUrl = "https://sopra-fs24-group-09-server.oa.r.appspot.com/" // TODO: insert your prod url for server (once deployed)
// const devUrl = "http://localhost:8080"
// const devUrl = "https://sopra-fs24-shatan-server.oa.r.appspot.com/" // TODO: insert your prod url for server (once deployed)

const devUrl = "http://localhost:8080"

return isProduction() ? prodUrl : devUrl
}

0 comments on commit 7cb280b

Please sign in to comment.