diff --git a/borgweb/borg/static/js/index.js b/borgweb/borg/static/js/index.js index 9f82a0e..eba9093 100644 --- a/borgweb/borg/static/js/index.js +++ b/borgweb/borg/static/js/index.js @@ -1,5 +1,5 @@ window.addEventListener("DOMContentLoaded", function () { - const repoDict = JSON.parse(document.getElementById('hour_list').textContent); + // const repoDict = JSON.parse(document.getElementById('hour_list').textContent); // set_daily_graph(repoDict) }, false); diff --git a/borgweb/borg/urls.py b/borgweb/borg/urls.py index 74d9f9a..32e87de 100644 --- a/borgweb/borg/urls.py +++ b/borgweb/borg/urls.py @@ -4,7 +4,7 @@ from django.views.decorators.cache import cache_page from . import views urlpatterns = [ - path('', cache_page(300)(views.index), name='index'), + path('', cache_page(60)(views.index), name='index'), path('post/repo', views.post_repo, name='repo'), path('post/archive', views.post_archive, name='archive'), path('post/error', views.post_error, name='error'),