Skip to content

Commit

Permalink
Switch backend URL to production
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Oct 1, 2020
1 parent 6d8aefa commit 9162e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/start-sling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
chmod 644 "$SLING_SECRET_FILE"

SLING_SECRET=$(cat "$SLING_SECRET_FILE")
SLING_BACKEND="https://d1ygrvunq94rou.cloudfront.net/v1/devices/$SLING_SECRET"
SLING_BACKEND="https://api.sourceacademy.nus.edu.sg/v1/devices/$SLING_SECRET"

export SLING_HOST="$(curl -fs "$SLING_BACKEND/mqtt_endpoint")"
export SLING_DEVICE_ID="$(curl -fs "$SLING_BACKEND/client_id")"
Expand Down

0 comments on commit 9162e7b

Please sign in to comment.