diff --git a/index.html b/index.html deleted file mode 100644 index 678dabe..0000000 --- a/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - LoMeS | Meshtastic - - - - -
-
- -

Welcome to LoMeS

-
-
-

A Local Meshtastic Server in development


-

Hi {{user}}

-

If you see this site, means "LoMeS" development environment is running!

-

Thanks for collaborating and trying to make things more real...

-
- - -
- - \ No newline at end of file diff --git a/lomes-app.py b/lomes-app.py index 2a116cc..a641464 100755 --- a/lomes-app.py +++ b/lomes-app.py @@ -1,14 +1,17 @@ #!/bin/python3 from flask import Flask, render_template +import datetime import getpass -import socket +import os app = Flask(__name__) @app.route("/") def index(): - user=getpass.getuser() - return render_template("index.html", user=user) + user = getpass.getuser() + time = datetime.datetime.now() + os = os.uname() + return render_template("index.html", user=user, time=time, os=os) app.run(host="127.0.0.1", port=5000)