mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
Change api redicrect
This commit is contained in:
parent
fd53346653
commit
f8c087ad87
|
@ -11,8 +11,7 @@ urlpatterns = [
|
||||||
path('admin', admin.site.urls),
|
path('admin', admin.site.urls),
|
||||||
path('api/', include('apps.rsform.urls')),
|
path('api/', include('apps.rsform.urls')),
|
||||||
path('users/', include('apps.users.urls')),
|
path('users/', include('apps.users.urls')),
|
||||||
path('docs/', SpectacularSwaggerView.as_view(), name='docs'),
|
|
||||||
path('schema', SpectacularAPIView.as_view(), name='schema'),
|
path('schema', SpectacularAPIView.as_view(), name='schema'),
|
||||||
path('redoc', SpectacularRedocView.as_view()),
|
path('redoc', SpectacularRedocView.as_view()),
|
||||||
path('', lambda: redirect('docs/', permanent=True)),
|
path('', SpectacularSwaggerView.as_view(), name='home'),
|
||||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||||
|
|
|
@ -21,7 +21,7 @@ export const urls = {
|
||||||
|
|
||||||
gitrepo: 'https://github.com/IRBorisov/ConceptPortal',
|
gitrepo: 'https://github.com/IRBorisov/ConceptPortal',
|
||||||
mailportal: 'mailto:portal@acconcept.ru',
|
mailportal: 'mailto:portal@acconcept.ru',
|
||||||
restapi: 'https://api.portal.acconcept.ru/docs/'
|
restapi: 'https://api.portal.acconcept.ru'
|
||||||
};
|
};
|
||||||
|
|
||||||
export const resources = {
|
export const resources = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user