Add main.py

This commit is contained in:
NJL
2026-06-26 15:39:29 +00:00
parent 028d6f908f
commit 8dddc6bc74
+12
View File
@@ -0,0 +1,12 @@
from flask import Flask, Response
app = Flask(__name__)
@app.route("/")
def index():
data = open("bomb.png.br", "rb").read()
return Response(data, mimetype="image/png", headers={"Content-Encoding": "br"})
app.run(host="0.0.0.0", port=8080)