Changed website URL when registering on the server

This commit is contained in:
tastytea 2018-06-04 20:20:01 +02:00
parent a6f37098f2
commit bf5fffca3a
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.9.3
VERSION 0.9.4
LANGUAGES CXX
)

View File

@ -348,7 +348,7 @@ const bool Listener::register_app()
ret = _masto->register_app1("expandurl-mastodon",
"urn:ietf:wg:oauth:2.0:oob",
"read write",
"https://github.com/tastytea/expandurl-mastodon",
"https://git.schlomp.space/tastytea/expandurl-mastodon",
client_id,
client_secret,
url);

View File

@ -69,6 +69,7 @@ const string expand(const string &url)
catch (const std::exception &e)
{
syslog(LOG_ERR, "%s", e.what());
// TODO: Do something when: "Couldn't resolve host …"
syslog(LOG_NOTICE, "The previous error is ignored.");
}