diff --git a/README.md b/README.md index 8a67cc4..37c8cd7 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ Sure, check `whatthecommit -h` for usage and options. #### Do I need this? / Alternatives No, [whatthecommit.com][wtc] provides since some time a -plain text interface at https://whatthecommit.com/index.txt - so a good +plain text interface at http://whatthecommit.com/index.txt - so a good alternative would be to create something like: ```bash # .bashrc / .zshrc or whatever function whatthecommit() { - curl --silent --fail https://whatthecommit.com/index.txt + curl --silent --fail http://whatthecommit.com/index.txt } ``` @@ -47,9 +47,9 @@ function whatthecommit() { ```bash # From https://github.com/ngerakines/commitment/issues/69#issuecomment-91053061 -git config --global alias.yolo '!git add -A && git commit -m "$(curl --silent --fail https://whatthecommit.com/index.txt)"' +git config --global alias.yolo '!git add -A && git commit -m "$(curl --silent --fail http://whatthecommit.com/index.txt)"' ``` Thanks to [m13253](https://github.com/m13253) for the index.txt trick. -[wtc]: https://whatthecommit.com/ +[wtc]: http://whatthecommit.com/ diff --git a/whatthecommit b/whatthecommit index 174ba95..a99d38c 100755 --- a/whatthecommit +++ b/whatthecommit @@ -5,7 +5,7 @@ require 'open-uri' class WhatTheCommit VERSION = "1.1.0" - URL = "https://whatthecommit.com/index.txt" + URL = "http://whatthecommit.com/index.txt" attr_reader :disclaimer, :iterations