chore: rename server to api (#7342)

This commit is contained in:
sriram veeraghanta 2025-07-04 15:32:21 +05:30 committed by GitHub
parent 6bee97eb26
commit fdbe4c2ca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
554 changed files with 39 additions and 43 deletions

View file

View file

@ -0,0 +1,5 @@
from django.apps import AppConfig
class WebConfig(AppConfig):
name = "plane.web"

View file

@ -0,0 +1,4 @@
from django.urls import path
from plane.web.views import robots_txt, health_check
urlpatterns = [path("robots.txt", robots_txt), path("", health_check)]

View file

@ -0,0 +1,9 @@
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")