udrone/server.py

11 lines
266 B
Python
Raw Normal View History

2022-08-18 22:20:07 +03:00
from flask import Flask
from flask import render_template
app = Flask(__name__, template_folder='./', static_url_path='',
static_folder='./',)
@app.route("/")
def hello():
return render_template("map.html")
if __name__ == "__main__":
app.run()