Commit d59caaf5 by Kidong Song

modify env file...

parent a0f5b13e
#!/bin/sh
PROTOCOL=$1
DOMAIN=$2
modify_htaccess()
{
......@@ -33,20 +35,23 @@ modify_api()
EOF
}
case "$1" in
localhost)
modify_htaccess "http://localhost/nmoto/Sites/webviewer/"
modify_api "https://web3.agentec.jp/acms"
;;
web2)
modify_htaccess "https://web2.mediaservice.agentec.jp/mc/webviewer/"
modify_api "https://web2.mediaservice.agentec.jp/mc"
;;
web3)
modify_htaccess "https://web3.agentec.jp/web/"
modify_api "https://web3.agentec.jp/acms"
;;
*)
echo $"Usage: $0 {localhost|web2|web3}"
;;
esac
modify_htaccess "$PROTOCOL://$DOMAIN/web/"
modify_api "$PROTOCOL://$DOMAIN/acms"
# case "$1" in
# localhost)
# modify_htaccess "http://localhost/nmoto/Sites/webviewer/"
# modify_api "https://web3.agentec.jp/acms"
# ;;
# web2)
# modify_htaccess "https://web2.mediaservice.agentec.jp/mc/webviewer/"
# modify_api "https://web2.mediaservice.agentec.jp/mc"
# ;;
# web3)
# modify_htaccess "https://web3.agentec.jp/web/"
# modify_api "https://web3.agentec.jp/acms"
# ;;
# *)
# 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