Skip to content

Commit

Permalink
Fix API_ROUTE_PREFIX compose.override.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
botisSmile committed Nov 28, 2024
1 parent 53cf751 commit ecc1d04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
target: gally_pwa_dev
args:
- NEXT_PUBLIC_ENTRYPOINT=${SERVER_NAME:-gally.localhost}
- NEXT_PUBLIC_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-}
- NEXT_PUBLIC_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-api}
volumes:
- ./front:/usr/src/front:rw,cached,z
environment:
Expand All @@ -50,12 +50,12 @@ services:
additional_contexts:
front_src: ./front
args:
- REACT_APP_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-}
- REACT_APP_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-api}
volumes:
- ./front:/usr/src/front:rw,cached,z
environment:
- PUBLIC_URL=https://${SERVER_NAME:-gally.localhost}/example
- REACT_APP_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-}
- REACT_APP_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-api}

###> doctrine/doctrine-bundle ###
database:
Expand Down

0 comments on commit ecc1d04

Please sign in to comment.