2022-11-09 17:35:16 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
enable=$1
|
|
|
|
domain=$2
|
|
|
|
|
|
|
|
if [ "$enable" = "enable" ]; then
|
|
|
|
lerna run env:localdomain:enable -- "$domain"
|
2023-10-17 16:19:28 +02:00
|
|
|
cd packages/account-portal
|
2022-11-09 17:35:16 +01:00
|
|
|
yarn env:localdomain:enable "$domain"
|
|
|
|
cd -
|
|
|
|
else
|
|
|
|
lerna run env:localdomain:disable
|
2023-10-17 16:19:28 +02:00
|
|
|
cd packages/account-portal
|
2022-11-09 17:35:16 +01:00
|
|
|
yarn env:localdomain:disable
|
|
|
|
cd -
|
|
|
|
fi
|