diff --git a/fedireads/incoming.py b/fedireads/incoming.py index 6155f6405..355ab2699 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 0885d72e4..634808605 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 1af5933c1..9a65ceb00 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'