Kaynağa Gözat

change route for submitting

Oz N Tiram 9 yıl önce
ebeveyn
işleme
028275fde8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      hooks/post-update.sh

+ 1 - 1
hooks/post-update.sh

@@ -34,4 +34,4 @@ done
 SECRET=$(echo -n $JSON_TO_SUBMIT | openssl dgst -sha1 -hmac $SECRET_KEY)
 SECRET=`echo $SECRET | cut -d'=' -f2`
 # TODO: Consider submiting to HTTPS!
-curl  -H "Content-Type: application/json" -H "X-Secret:${SECRET}" -X POST http://${SUBMIT_HOST}:${SUBMIT_PORT}/deploy/ -d ${JSON_TO_SUBMIT}
+curl  -H "Content-Type: application/json" -H "X-Secret:${SECRET}" -X POST http://${SUBMIT_HOST}:${SUBMIT_PORT}/ -d ${JSON_TO_SUBMIT}