22 lines
624 B
Python
22 lines
624 B
Python
"""
|
|
URL configuration for aprovacao_pedidos project.
|
|
|
|
The `urlpatterns` list routes URLs to views. For more information please see:
|
|
https://docs.djangoproject.com/en/5.2/topics/http/urls/
|
|
"""
|
|
from django.contrib import admin
|
|
from django.urls import path, include
|
|
from home import views as home_views
|
|
from django.http import HttpResponse
|
|
|
|
def healthz(request):
|
|
"""Health check endpoint"""
|
|
return HttpResponse(status=200)
|
|
|
|
urlpatterns = [
|
|
path('healthz', healthz, name='healthz'),
|
|
path('admin/', admin.site.urls),
|
|
path('home/', include('home.urls')),
|
|
path('', home_views.home_page, name='home'),
|
|
]
|