diff --git a/fedireads/incoming.py b/fedireads/incoming.py index 6155f640..355ab269 100644 --- a/fedireads/incoming.py +++ b/fedireads/incoming.py @@ -99,6 +99,10 @@ def shared_inbox(request): if activity['type'] == 'Create': return handle_incoming_create(activity) + if activity['type'] == 'Accept': + # aww yay, friendship + return HttpResponse() + return HttpResponseNotFound() diff --git a/fedireads/migrations/0001_initial.py b/fedireads/migrations/0001_initial.py index 0885d72e..63480860 100644 --- a/fedireads/migrations/0001_initial.py +++ b/fedireads/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 3.0.3 on 2020-02-12 01:47 +# Generated by Django 3.0.2 on 2020-02-14 16:08 from django.conf import settings import django.contrib.auth.models diff --git a/fedireads/settings.py b/fedireads/settings.py index 1af5933c..9a65ceb0 100644 --- a/fedireads/settings.py +++ b/fedireads/settings.py @@ -14,7 +14,7 @@ SECRET_KEY = '7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr' DEBUG = True # TODO: this should be populated at runtime at least for debug mode -DOMAIN = 'af064ab4.ngrok.io' +DOMAIN = '26863dc9.ngrok.io' ALLOWED_HOSTS = ['*'] OL_URL = 'https://openlibrary.org'