version 19
This commit is contained in:
parent
0562fa6c32
commit
4ea794681e
Binary file not shown.
@ -8,6 +8,6 @@ router.register(r'api/sellers', SellerViewSet)
|
||||
router.register(r'api/products', ProductViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
re_path(r'^(?!api/|admin/).*$', serve_frontend, name='serve_frontend'),
|
||||
]
|
||||
path('api/', include(router.urls)),
|
||||
re_path(r'^.*$', serve_frontend, name='serve_frontend'),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user