Commit d59caaf5 by Kidong Song

modify env file...

parent a0f5b13e
#!/bin/sh #!/bin/sh
PROTOCOL=$1
DOMAIN=$2
modify_htaccess() modify_htaccess()
{ {
...@@ -33,20 +35,23 @@ modify_api() ...@@ -33,20 +35,23 @@ modify_api()
EOF EOF
} }
case "$1" in modify_htaccess "$PROTOCOL://$DOMAIN/web/"
localhost) modify_api "$PROTOCOL://$DOMAIN/acms"
modify_htaccess "http://localhost/nmoto/Sites/webviewer/"
modify_api "https://web3.agentec.jp/acms" # case "$1" in
;; # localhost)
web2) # modify_htaccess "http://localhost/nmoto/Sites/webviewer/"
modify_htaccess "https://web2.mediaservice.agentec.jp/mc/webviewer/" # modify_api "https://web3.agentec.jp/acms"
modify_api "https://web2.mediaservice.agentec.jp/mc" # ;;
;; # web2)
web3) # modify_htaccess "https://web2.mediaservice.agentec.jp/mc/webviewer/"
modify_htaccess "https://web3.agentec.jp/web/" # modify_api "https://web2.mediaservice.agentec.jp/mc"
modify_api "https://web3.agentec.jp/acms" # ;;
;; # web3)
*) # modify_htaccess "https://web3.agentec.jp/web/"
echo $"Usage: $0 {localhost|web2|web3}" # modify_api "https://web3.agentec.jp/acms"
;; # ;;
esac # *)
# echo $"Usage: $0 {localhost|web2|web3}"
# ;;
# esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment