Update bar-assistant-install.sh
This commit is contained in:
parent
866f486336
commit
343b266b4f
@ -113,8 +113,8 @@ mv /opt/vue-salt-rim-${RELEASE_SALTRIM}/ /opt/vue-salt-rim
|
|||||||
cd /opt/vue-salt-rim
|
cd /opt/vue-salt-rim
|
||||||
cat <<EOF >/opt/vue-salt-rim/public/config.js
|
cat <<EOF >/opt/vue-salt-rim/public/config.js
|
||||||
window.srConfig = {}
|
window.srConfig = {}
|
||||||
window.srConfig.API_URL = "http://${LOCAL_IP}/bar/"
|
window.srConfig.API_URL = "http://${LOCAL_IP}/bar"
|
||||||
window.srConfig.MEILISEARCH_URL = "http://${LOCAL_IP}/search/"
|
window.srConfig.MEILISEARCH_URL = "http://${LOCAL_IP}/search"
|
||||||
EOF
|
EOF
|
||||||
$STD npm install
|
$STD npm install
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user