-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename BITCART_STORE_URL to BITCART_STORE_API_URL
- Loading branch information
1 parent
47dc7e1
commit fda1173
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters