lower the key otherwise it will craerte duplicate with the existing key with uppercase
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre.geeraert
2026-09-07 11:27:19 +01:00
parent c5d0fd8589
commit 8d6234927c
@@ -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"