Kaynağa Gözat

Added workx prefix to the URL to make it work with the server settings

master
kj1352 3 yıl önce
ebeveyn
işleme
2e8a6680f5
1 değiştirilmiş dosya ile 7 ekleme ve 5 silme
  1. +7
    -5
      workx_backend/urls.py

+ 7
- 5
workx_backend/urls.py Dosyayı Görüntüle

@@ -23,9 +23,11 @@ router = routers.DefaultRouter()
router.register(r'users', UserViewSet)

urlpatterns = [
path('swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
path('redoc/', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
path('admin/', admin.site.urls),
path('api/', include(router.urls)),
path('', include('drfpasswordless.urls')),
path('workx/', include([
path('swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
path('redoc/', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
path('admin/', admin.site.urls),
path('api/', include(router.urls)),
path('', include('drfpasswordless.urls')),
]))
]