Skip to content

Commit

Permalink
remove unused paths for images and documents
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Oct 30, 2024
1 parent 0d03a7e commit 15d2fec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions openstax/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
path('django-admin/clear_cache/', clear_entire_cache, name='clear_entire_cache'),
path('django-admin/', admin.site.urls),

path('documents/', include(wagtaildocs_urls)),
path('images/', ServeView.as_view(action='redirect'), name='wagtailimages_serve'),

re_path(r'^accounts', include(accounts_urls)), # non-CloudFront Accounts redirects
re_path(r'^accounts', include(accounts_urls)), # non-CloudFront Accounts redirects

path('apps/cms/api/', include(api_urls)),
path('apps/cms/api/search/', search, name='search'),
Expand Down

0 comments on commit 15d2fec

Please sign in to comment.