mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-29 06:40:26 +00:00
cd66dcee7b
* Added Apple web-app meta tag #358 * Added manifest file for web app * Changed manifest to use template #358 * Small tweaks, add tests --------- Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
13 lines
314 B
Python
13 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)
|