Filled return statements with placeholder messages
This commit is contained in:
parent
c48ee7410d
commit
159b0401ef
1 changed files with 10 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue