|
|
|
@@ -22,7 +22,9 @@ def agegate(): |
|
|
|
def accept(): |
|
|
|
url = request.args.get("url", default=None) |
|
|
|
|
|
|
|
if urlparse(url).netloc and urlparse(url).netloc[:-9] != "crux.sexy": |
|
|
|
print(urlparse(url).netloc) |
|
|
|
if urlparse(url).netloc and urlparse(url).netloc[-9:] != "crux.sexy": |
|
|
|
print("oops") |
|
|
|
url = "/" |
|
|
|
|
|
|
|
if not url: |
|
|
|
@@ -33,4 +35,4 @@ def accept(): |
|
|
|
return res |
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
app.run(debug=True, host='0.0.0.0', port=5001) |
|
|
|
app.run(debug=True, host='0.0.0.0', port=5002) |