linkding/bookmarks/views/manifest.py
2024-01-27 11:29:16 +01:00

13 lines
315 B
Python

from django.http import JsonResponse
from django.conf import settings
def manifest(request):
response = {
"short_name": "linkding",
"start_url": "bookmarks",
"display": "standalone",
"scope": "/" + settings.LD_CONTEXT_PATH,
}
return JsonResponse(response, status=200)