ultrasoundmoney / frontend

ultrasound.money frontend
https://ultrasound.money
MIT License
216 stars 73 forks source link

fix(relay-dashboard): use k8s service name as api hostname #290

Closed blombern closed 1 year ago

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2023 11:06am
Samir1188 commented 1 year ago

package.json: The setting "build": "BUILD=true next build": Setting the environment variable BUILD=true might not work consistently across all operating systems. If you intend to use this command on multiple platforms, you should check its correctness on each of them. src/relay/config.ts: In the getDomain() function, after the last condition case "prod":, there's no default block. This can lead to the function returning undefined if apiEnv doesn't match any of the expected values. The comment for the getCensorshipDomain() function states, "Use prod API for censorship data on staging since we don't have the data for goerli", but this condition isn't implemented in the function itself. The code breaks off after the line return "https://relay.u. This might be a paste error or incomplete code.