Archived
- add uv configuration for the backend - update frontend to make auth work - add new auth endpoints - add bookmars feat - add reader feat
16 lines
529 B
Python
16 lines
529 B
Python
from django.conf import settings
|
|
from django.contrib import admin
|
|
from django.urls import include, path
|
|
|
|
urlpatterns = [
|
|
path("admin/", admin.site.urls),
|
|
path("api/auth/", include("apps.users.urls")),
|
|
path("api/books/", include("apps.books.urls")),
|
|
path("api/annotations/", include("apps.annotations.urls")),
|
|
path("api/reader/", include("apps.reader.urls")),
|
|
]
|
|
|
|
if settings.DEBUG:
|
|
from django.conf.urls.static import static
|
|
|
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |