fix: remove url variables; docs: updated to current
This commit is contained in:
parent
d74916f2c7
commit
40306538ba
4 changed files with 22 additions and 14 deletions
7
app.py
7
app.py
|
@ -1,9 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from flask import Flask, render_template, redirect, url_for
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
import requests
|
||||
import os
|
||||
import time
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
|
@ -18,10 +15,12 @@ def about():
|
|||
|
||||
@app.route("/")
|
||||
def homepage():
|
||||
return render_template("homepage.j2", MONITORING_URL = os.environ['MONITORING_URL'], GIT_URL = os.environ['GIT_URL'])
|
||||
return render_template("homepage.j2")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
GIT_URL = os.environ['GIT_URL']
|
||||
MONITORING_URL = os.environ['MONITORING_URL']
|
||||
app.run(debug=os.environ['DEBUG_MODE'])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue