Skip to content

Commit eb32404

Browse files
committed
Replace the GitHub with a managed heroku proxy (#2469)
We sometimes hit the GitHub API rate limit. To get around this we have a hosted reverse proxy that has a baked in auth token. We occasionally have issue with the proxy going down, and can only wait for it to be bumped. This PR uses a proxy deployed on heroku with a very restrictive auth token. This should put an end to the proxy going down, and make it possible for multiple people to manage the server if needed.
1 parent d51adef commit eb32404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/ci-build-libsass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ then
114114
then
115115
echo "Travis rate limit on github exceeded"
116116
echo "Retrying via 'special purpose proxy'"
117-
JSON=$(curl -L -sS http://libsass.ocbnet.ch/libsass-spec-pr.psgi/$TRAVIS_PULL_REQUEST)
117+
JSON=$(curl -L -sS https://github-api-reverse-proxy.herokuapp.com/repos/sass/libsass/pulls/$TRAVIS_PULL_REQUEST)
118118
fi
119119

120120
RE_SPEC_PR="sass\/sass-spec(#|\/pull\/)([0-9]+)"

0 commit comments

Comments
 (0)