Skip to content

Commit

Permalink
Fix API root for the deb/copy/ endpoint for s3
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
quba42 committed Aug 29, 2023
1 parent 2314dd0 commit c1096a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pulp_deb/app/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from django.conf import settings
from django.urls import path

from .viewsets import CopyViewSet

urlpatterns = [path("pulp/api/v3/deb/copy/", CopyViewSet.as_view({"post": "create"}))]
V3_API_ROOT = settings.V3_API_ROOT_NO_FRONT_SLASH

urlpatterns = [path(f"{V3_API_ROOT}deb/copy/", CopyViewSet.as_view({"post": "create"})),]

0 comments on commit c1096a2

Please sign in to comment.