ssh key저장 기능 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 1m57s

This commit is contained in:
2025-05-20 13:25:12 +09:00
parent 9c84584c36
commit 293003cf1c
10 changed files with 149 additions and 15 deletions

View File

@ -1,5 +1,5 @@
from django.urls import path
from .views import RegisterView, MeView, CustomTokenObtainPairView
from .views import RegisterView, MeView, CustomTokenObtainPairView, SSHKeyUploadView
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView, TokenVerifyView
urlpatterns = [
@ -9,4 +9,5 @@ urlpatterns = [
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
path('verify/', TokenVerifyView.as_view(), name='token_verify'),
path('me/', MeView.as_view(), name='me'),
path("ssh-key/", SSHKeyUploadView.as_view(), name="ssh_key_upload"),
]