Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into int
Browse files Browse the repository at this point in the history
  • Loading branch information
finlay-jisc committed Nov 18, 2024
2 parents 53d5d72 + 68a437b commit 790236a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/config/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ switch (process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF) {
baseURL = 'http://127.0.0.1:4003/local/v1'; // https://github.com/node-fetch/node-fetch/issues/1624
break;
case 'main':
baseURL = 'https://octopus.ac/v1';
baseURL = 'https://api.octopus.ac/v1';
break;
default:
baseURL = `https://${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF}.octopus.ac/v1`;
baseURL = `https://${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF}.api.octopus.ac/v1`;
break;
}

Expand Down

0 comments on commit 790236a

Please sign in to comment.