You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
276 B
19 lines
276 B
from flask import Flask
|
|
|
|
from app import create_app
|
|
|
|
APP = create_app()
|
|
|
|
|
|
@APP.route("/")
|
|
def index():
|
|
return "crunk-scheduler online!"
|
|
|
|
|
|
@APP.route("/schedule", methods=["POST"])
|
|
def schedule_post():
|
|
return "post scheduled"
|
|
|
|
|
|
if __name__ == "__main__":
|
|
APP.run()
|
|
|