mirror of
https://github.com/sissbruecker/linkding
synced 2025-02-27 04:17:13 +00:00
14 lines
314 B
Python
14 lines
314 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)
|