mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 03:08:29 +02:00
Speed up navigation (#824)
* use client-side navigation * update tests * add setting for enabling link prefetching * do not prefetch bookmark details * theme progress bar * cleanup behaviors * update test
This commit is contained in:
@@ -7,7 +7,7 @@ from bookmarks.models import GlobalSettings
|
||||
def root(request):
|
||||
# Redirect unauthenticated users to the configured landing page
|
||||
if not request.user.is_authenticated:
|
||||
settings = GlobalSettings.get()
|
||||
settings = request.global_settings
|
||||
|
||||
if settings.landing_page == GlobalSettings.LANDING_PAGE_SHARED_BOOKMARKS:
|
||||
return HttpResponseRedirect(reverse("bookmarks:shared"))
|
||||
|
Reference in New Issue
Block a user