Filled return statements with placeholder messages

This commit is contained in:
Thomas Gerot 2015-12-21 12:10:36 -06:00
parent c48ee7410d
commit 159b0401ef

View file

@ -1,25 +1,29 @@
from flask import Flask
import sys
app = Flask(__name__)
#Home Page
@app.route("/")
def hello_world():
return "Hello, EasyCTF!"
#Login Page
@app.route('/login')
def login():
return
return "EasyCTF Login"
#Registration Page
@app.route('/register')
def register():
return
return "EasyCTF Register"
#Scoreboard Page
@app.route('/scoreboard')
def scoreboard():
return
return "EasyCTF Scoreboard"
#Problems Page
@app.route('/problems')
def problems():
return
return "EasyCTF Problems"
if __name__ == "__main__":
app.debug = "--debug" in sys.argv
app.run(port=8000)