add /api url prefix in backend
This commit is contained in:
parent
e5bec44164
commit
7369db8512
7 changed files with 55 additions and 46 deletions
|
@ -21,7 +21,7 @@ from .version import get_info
|
|||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('1/', include('inventory.api_v1')),
|
||||
path('1/', include('files.api_v1')),
|
||||
path('', get_info),
|
||||
path('api/1/', include('inventory.api_v1')),
|
||||
path('api/1/', include('files.api_v1')),
|
||||
path('api/', get_info),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue