Skip to content

Commit

Permalink
Merge pull request #720 from JiscSD/OC-958-fix
Browse files Browse the repository at this point in the history
OC-958 fix: restore "api." that was removed with too much find and replace
  • Loading branch information
finlay-jisc authored Nov 18, 2024
2 parents f18a788 + 6815471 commit 68a437b
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 68a437b

Please sign in to comment.