diff --git a/index.html b/index.html new file mode 120000 index 0000000..0b89243 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +/home/fr4nz/NetStorage/Repo/LoMeS/templates/index.html \ No newline at end of file diff --git a/lomes-app.py b/lomes-app.py index b14793b..499e3ae 100755 --- a/lomes-app.py +++ b/lomes-app.py @@ -1,12 +1,14 @@ #!/bin/python3 from flask import Flask, render_template +import getpass -app = Flask(__name__, static_folder="static") +app = Flask(__name__) @app.route("/") def index(): - return render_template("index.html") + user=getpass.getuser() + return render_template("index.html", user=user) app.run(host="127.0.0.1", port=5000) diff --git a/static/index.html b/static/index.html deleted file mode 100644 index f33378b..0000000 --- a/static/index.html +++ /dev/null @@ -1,29 +0,0 @@ - -
- - - -If you see this site, means "LoMeS" development environment is running!
-Thanks for collaborating and trying to make things mor real...
-