renator commited on
Commit
0cc343d
·
1 Parent(s): 0ffb1ca

Fixning permission issue

Browse files
Files changed (1) hide show
  1. config/urls.py +1 -2
config/urls.py CHANGED
@@ -25,7 +25,6 @@ urlpatterns = [
25
  path('admin/', admin.site.urls),
26
  path('auth/', include('accounts.urls')),
27
  path('generate-speech/', TextToSpeechCreateView.as_view(), name='generate-speech-create'),
28
- path('swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
29
- re_path(r'^swagger(?P<format>\.json|\.yaml)$', schema_view.without_ui(cache_timeout=0), name='schema-json'),
30
 
31
  ]
 
25
  path('admin/', admin.site.urls),
26
  path('auth/', include('accounts.urls')),
27
  path('generate-speech/', TextToSpeechCreateView.as_view(), name='generate-speech-create'),
28
+ path('', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
 
29
 
30
  ]