This commit is contained in:
Bryan Gerlach
2024-11-02 01:01:04 -05:00
parent d5de9ff933
commit c5e06c0911

View File

@@ -67,7 +67,7 @@ def generator_view(request):
filename = re.sub(r'[^\w\s-]', '_', filename).strip()
myuuid = str(uuid.uuid4())
protocol = 'https' if request.is_secure() else 'http'
protocol = 'https'
host = request.get_host()
full_url = f"{protocol}://{host}/api"
try: