Skip to content

Commit c7fc4fc

Browse files
committed
Fix curl download instructions
curl needs to follow redirects in order to fetch the raw file.
1 parent cc0dd17 commit c7fc4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Or add `jquery-pjax` to your apps `bower.json`.
101101
pjax can be downloaded directly into your app's public directory - just be sure you've loaded jQuery first.
102102

103103
```
104-
curl -O https://raw.github.com/defunkt/jquery-pjax/master/jquery.pjax.js
104+
curl -LO https://raw.github.com/defunkt/jquery-pjax/master/jquery.pjax.js
105105
```
106106

107107
**WARNING** Do not hotlink the raw script url. GitHub is not a CDN.

0 commit comments

Comments
 (0)