mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
added basic service worker
This commit is contained in:
@@ -359,6 +359,10 @@ def api_info(request):
|
||||
return render(request, 'api_info.html', {})
|
||||
|
||||
|
||||
def offline(request):
|
||||
return render(request, 'offline.html', {})
|
||||
|
||||
|
||||
def test(request):
|
||||
if not settings.DEBUG:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
Reference in New Issue
Block a user