Skip to content
Snippets Groups Projects
Unverified Commit 16cc7303 authored by murych's avatar murych
Browse files

added index page

parent e2e708a6
No related branches found
No related tags found
No related merge requests found
from flask import Flask, abort, request
from flask import Flask, abort, request, render_template
 
from auth import auth_facebook, auth_slack
from config import *
Loading
Loading
@@ -6,6 +6,10 @@ from message import *
 
app = Flask(__name__)
 
@app.route('/')
def index():
return render_template('index.html')
 
@app.route('/callback/xE4sA', methods=['GET', 'POST'])
def callback():
Loading
Loading
@@ -23,7 +27,6 @@ def callback():
 
 
slack = auth_slack()
# facebook = auth_facebook()
 
if __name__ == '__main__':
app.run(host="0.0.0.0", port=5000)
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment