Skip to content

Commit

Permalink
Rename BITCART_STORE_URL to BITCART_STORE_API_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Feb 21, 2021
1 parent 47dc7e1 commit fda1173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
SERVICE_FILE=/var/lib/tor/hidden_services/BitcartCC-Merchants-API/hostname
if [ -f $SERVICE_FILE ]; then
read -r BITCART_STORE_ONION_URL < $SERVICE_FILE
export BITCART_STORE_ONION_URL="http://$BITCART_STORE_ONION_URL"
read -r BITCART_STORE_API_ONION_URL < $SERVICE_FILE
export BITCART_STORE_API_ONION_URL="http://$BITCART_STORE_API_ONION_URL"
fi
yarn start
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default {
** Runtime config
*/
publicRuntimeConfig: {
URL: process.env.BITCART_STORE_URL || "http://localhost:8000",
ONION_URL: process.env.BITCART_STORE_ONION_URL,
URL: process.env.BITCART_STORE_API_URL || "http://localhost:8000",
ONION_URL: process.env.BITCART_STORE_API_ONION_URL,
SOCKS_PROXY: process.env.BITCART_STORE_SOCKS_PROXY,
},
/*
Expand Down

0 comments on commit fda1173

Please sign in to comment.