Changed website URL when registering on the server
This commit is contained in:
parent
a6f37098f2
commit
bf5fffca3a
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.7)
|
||||
project (expandurl-mastodon
|
||||
VERSION 0.9.3
|
||||
VERSION 0.9.4
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user