Skip to content

Commit

Permalink
fix: change PROFILE_URL (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj authored Apr 19, 2024
1 parent f73e9a4 commit 9173006
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/entities/Place/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ const DECENTRALAND_URL =
process.env.DECENTRALAND_URL ||
"https://play.decentraland.org"

const CONTENT_SERVER_URL =
process.env.GATSBY_PROFILE_URL ||
process.env.PROFILE_URL ||
"https://peer.decentraland.org"
const CONTENT_SERVER_URL = env("PROFILE_URL", "https://peer.decentraland.org")

export function placeUrl(place: PlaceAttributes) {
const target = new URL(env("PLACES_URL", "https://places.decentraland.org"))
Expand Down

0 comments on commit 9173006

Please sign in to comment.