mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-30 00:32:52 +00:00
17 lines
611 B
Python
17 lines
611 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = 'chat'
|
|
|
|
urlpatterns = [
|
|
path('embed', views.ChatEmbedView.as_view()),
|
|
path('auth/anonymous', views.AnonymousAuthentication.as_view()),
|
|
path('profile', views.AuthProfile.as_view()),
|
|
path('application/profile', views.ApplicationProfile.as_view()),
|
|
path('chat_message/<str:chat_id>', views.ChatView.as_view()),
|
|
path('open', views.OpenView.as_view()),
|
|
path('captcha', views.CaptchaView.as_view(), name='captcha'),
|
|
path('vote/chat/<str:chat_id>/chat_record/<str:chat_record_id>', views.VoteView.as_view(), name='vote'),
|
|
]
|