Skip to content

Commit

Permalink
switch prod and dev api urls (#918)
Browse files Browse the repository at this point in the history
Co-authored-by: Sceuick <[email protected]>
  • Loading branch information
sceuick and sceuick authored Apr 29, 2024
1 parent 5a137e8 commit 256d5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/store/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export const baseUrl =
PORT === '1234' || PORT === '3001' || HOST === 'localhost' || HOST === '127.0.0.1'
? `${PROTO}//${HOST}:3001`
: HOST === 'agnai.chat' || HOST === 'prd-assets.agnai.chat'
? `${PROTO}//api.agnai.chat`
: HOST === 'dev.agnai.chat' || HOST === 'dev-assets.agnai.chat'
? `${PROTO}//lb-api.agnai.chat`
: HOST === 'dev.agnai.chat' || HOST === 'dev-assets.agnai.chat'
? `${PROTO}//api.agnai.chat`
: location.origin

export const api = {
Expand Down

0 comments on commit 256d5f7

Please sign in to comment.