Update server.py

This commit is contained in:
Nova Cat 2025-01-14 19:26:36 -08:00
parent 3b565eaaa2
commit 0c90b469cc

View file

@ -1,5 +1,5 @@
#!/usr/bin/python3
import asyncio, traceback, socket, ssl, zipfile
import asyncio, traceback, socket, ssl, zipfile, random
from OpenSSL import crypto
from urllib.parse import urlparse, quote
from flask import Flask, request, redirect, send_file, Response
@ -7,7 +7,6 @@ from hypercorn.config import Config
from hypercorn.asyncio import serve
from pathlib import Path
homefolder = str(Path.home())
import uuid
app = Flask(__name__)
@app.route("/robots.txt")
def robots():