Skip to content

Commit

Permalink
Apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Picco committed Apr 2, 2024
1 parent 20f0604 commit 7f4e5db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const parseEndpoints = () => {
endpoints = JSON.parse(process.env.ENDPOINTS || process.env.ENDPOINT!)
} catch (e) {
// if parse fails, assume it's a single endpoint
endpoints = [process.env.ENDPOINTS || process.env.ENDPOINT || clusterApiUrl('devnet')]
endpoints = [
process.env.ENDPOINTS || process.env.ENDPOINT || clusterApiUrl('devnet'),
]
}

if (!Array.isArray(endpoints)) {
Expand Down

0 comments on commit 7f4e5db

Please sign in to comment.