Update server.py
This commit is contained in:
parent
3b565eaaa2
commit
0c90b469cc
1 changed files with 1 additions and 2 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue