Fix app registration - toot - Unnamed repository; edit this file 'description' to name the repository.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 06a68d41429e76fd7197d5dfdeb82a458728dde2
(DIR) parent 9787954a3287ea2cf9a7c1a1c975953d00d52af0
(HTM) Author: Ivan Habunek <ivan@habunek.com>
Date: Sat, 30 Dec 2017 17:54:22 +0100
Fix app registration
Was using http instead of https.
Diffstat:
toot/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/toot/api.py b/toot/api.py
@@ -17,7 +17,7 @@ def _account_action(app, user, account, action):
def create_app(domain):
- url = 'http://{}/api/v1/apps'.format(domain)
+ url = 'https://{}/api/v1/apps'.format(domain)
data = {
'client_name': CLIENT_NAME,