13 lines
375 B
Python
13 lines
375 B
Python
# Copyright (c) 2023-present Plane Software, Inc. and contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
# See the LICENSE file for details.
|
|
|
|
from django.http import HttpResponse, JsonResponse
|
|
|
|
|
|
def health_check(request):
|
|
return JsonResponse({"status": "OK"})
|
|
|
|
|
|
def robots_txt(request):
|
|
return HttpResponse("User-agent: *\nDisallow: /", content_type="text/plain")
|