parent
7f8900d36c
commit
8dd0e52081
@ -0,0 +1,5 @@ |
||||
from flask import Flask |
||||
|
||||
app = Flask(__name__) |
||||
|
||||
from app import routes |
@ -0,0 +1,16 @@ |
||||
from app import app |
||||
|
||||
@app.route('/') |
||||
@app.route('/index') |
||||
def index(): |
||||
return "Hello, World!" |
||||
|
||||
|
||||
@app.route('/login') |
||||
def index(): |
||||
return "Hello, World!" |
||||
|
||||
|
||||
@app.route('/admin') |
||||
def index(): |
||||
return "Hello, World!" |
Loading…
Reference in new issue