make player MAIL=$PLAYER PLAYER_API_ONLINE=true \

This commit is contained in:
fred 2022-12-27 00:37:17 +01:00
parent 2aa1186b69
commit b8ce357d28
2 changed files with 8 additions and 1 deletions

View File

@ -178,6 +178,13 @@ echo "NEXT STYLE GW : https://ipfs.$CLYUSER$YOMAIN.$HOSTNAME"
NID="${myIPFSGW}" && WID="$NID/api"
[[ $isLAN ]] && NID="http://ipfs.localhost:8080" && WID="http://ipfs.localhost:5001"
####
[[ $USER="zen" || $isLAN == "" ]] \
&& make player MAIL=$PLAYER PLAYER_API_ONLINE=true \
&& NID="https://ipfs.$HOSTNAME" && WID="https://ipfs.$CLYUSER$YOMAIN.$HOSTNAME/api"
####
### CREATE $NID ADDRESS FOR API & ROUND ROBIN FOR GW
cat ~/.zen/Astroport.ONE/templates/data/local.api.json | sed -i "s~_NID_~${WID}~g" > ~/.zen/tmp/${MOATS}/local.api.json
cat ~/.zen/Astroport.ONE/templates/data/local.gw.json | sed -i "s~_NID_~${NID}~g" > ~/.zen/tmp/${MOATS}/local.gw.json

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
import sys, re, base58, base64, crypto_pb2
import sys, re, base58, base64
import cryptography.hazmat.primitives.asymmetric.ed25519 as ed25519
from cryptography.hazmat.primitives import serialization