update
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
main = Blueprint('main', __name__)
|
||||
|
||||
from . import views, errors
|
||||
|
||||
0
app/main/errors.py
Normal file
0
app/main/errors.py
Normal file
7
app/main/views.py
Normal file
7
app/main/views.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from . import main
|
||||
import json
|
||||
|
||||
|
||||
@main.route('/', methods=['GET', 'POST'])
|
||||
def index():
|
||||
return json.dumps({'Message': 'Hello, world'})
|
||||
Reference in New Issue
Block a user