Fix #490: Ensure we always have a default api url set on first load to avoid displaying the instance picker
This commit is contained in:
parent
14774f393c
commit
5e7985387e
4 changed files with 9 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ review_front:
|
|||
- yarn run i18n-compile
|
||||
# this is to ensure we don't have any errors in the output,
|
||||
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
|
||||
- INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||
- VUE_APP_INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||
- mkdir -p /static/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
|
||||
- cp -r dist/* /static/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
|
||||
cache:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue