about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-05-03 10:30:44 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-05-03 10:33:46 +0200
commit1446ac15cb56be90406290294312cf8b7618d7c1 (patch)
tree54a2c0ac2601747861d9fedd51d7b9289a3eca4f
parent83433ee8e0c9804e62410b8da339f93618cbe2cd (diff)
downloadprofani-tty-1446ac15cb56be90406290294312cf8b7618d7c1.tar.gz
Check for new profanity version using new URL
Regards https://github.com/profanity-im/profanity/issues/1085
-rw-r--r--src/common.c2
-rw-r--r--src/ui/console.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c
index 3e1b51b5..5aed9295 100644
--- a/src/common.c
+++ b/src/common.c
@@ -269,7 +269,7 @@ file_getline(FILE *stream)
 char*
 release_get_latest(void)
 {
-    char *url = "http://www.profanity.im/profanity_version.txt";
+    char *url = "https://profanity-im.github.io/profanity_version.txt";
 
     CURL *handle = curl_easy_init();
     struct curl_data_t output;
diff --git a/src/ui/console.c b/src/ui/console.c
index f1fa3231..d16aef6c 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -442,7 +442,7 @@ cons_check_version(gboolean not_available_msg)
         if (relase_valid) {
             if (release_is_new(latest_release)) {
                 win_println(console, THEME_DEFAULT, '-', "A new version of Profanity is available: %s", latest_release);
-                win_println(console, THEME_DEFAULT, '-', "Check <http://www.profanity.im> for details.");
+                win_println(console, THEME_DEFAULT, '-', "Check <https://profanity-im.github.io> for details.");
                 win_println(console, THEME_DEFAULT, '-', "");
             } else {
                 if (not_available_msg) {