.
This commit is contained in:
@@ -67,7 +67,7 @@ def generator_view(request):
|
|||||||
|
|
||||||
filename = re.sub(r'[^\w\s-]', '_', filename).strip()
|
filename = re.sub(r'[^\w\s-]', '_', filename).strip()
|
||||||
myuuid = str(uuid.uuid4())
|
myuuid = str(uuid.uuid4())
|
||||||
protocol = 'https' if request.is_secure() else 'http'
|
protocol = 'https'
|
||||||
host = request.get_host()
|
host = request.get_host()
|
||||||
full_url = f"{protocol}://{host}/api"
|
full_url = f"{protocol}://{host}/api"
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user