lower the key otherwise it will craerte duplicate with the existing key with uppercase
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@@ -20,6 +20,7 @@ def redirect(request):
|
||||
|
||||
def clearkey_process(request):
|
||||
key = request.GET.get('key')
|
||||
key = key.lower()
|
||||
redirectData.objects.update_or_create(key=key,defaults={'url': "None"})
|
||||
|
||||
text_generated = key+" is set to None"
|
||||
|
||||
Reference in New Issue
Block a user