Skip to content

Commit

Permalink
Revert "chore: temporarily hard code cowswap PR url for testing"
Browse files Browse the repository at this point in the history
This reverts commit 7480038.
  • Loading branch information
alfetopito committed Oct 7, 2024
1 parent b9fb9bc commit 18369d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const getBaseUrl = (): string => {
if (isLocalHost) return 'http://localhost:3000'
if (isDev) return 'https://dev.swap.cow.fi'
if (isVercel) {
// TODO: revert before merging!!
return 'https://swap-dev-git-fix-widget-configurator-fee-recipient-cowswap.vercel.app/'
const prKey = window.location.hostname.replace('widget-configurator-git-', '').replace('-cowswap.vercel.app', '')
return `https://swap-dev-git-${prKey}-cowswap.vercel.app`
}

return 'https://swap.cow.fi'
Expand Down

0 comments on commit 18369d5

Please sign in to comment.