adding the default page in case there is no redis entry
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m12s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m12s
This commit is contained in:
@@ -35,6 +35,9 @@ def display_key(request,key):
|
|||||||
|
|
||||||
def redirect_to_key(request,key):
|
def redirect_to_key(request,key):
|
||||||
value = r.get(key)
|
value = r.get(key)
|
||||||
|
if !(value):
|
||||||
|
return render(request, 'blank_page.html',{})
|
||||||
|
else:
|
||||||
print(value)
|
print(value)
|
||||||
value_extracted = str(value.decode('utf-8'))
|
value_extracted = str(value.decode('utf-8'))
|
||||||
print(value_extracted)
|
print(value_extracted)
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<link rel="icon" type="image/x-icon" href="https://cdn-icons-png.flaticon.com/512/6402/6402576.png">
|
||||||
|
<title>Streaming</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user