pvanand's picture
Update app.py
191fe3e verified
from flask import Flask, render_template, send_from_directory
app = Flask(__name__)
@app.route('/login')
def login():
return render_template('/apps-hub/login.html')
# @app.route('/')
# def app_selector():
# return render_template('/apps-hub/app-selector.html')
@app.route('/profile')
def profile():
return render_template('/apps-hub/profile.html')
@app.route('/research-pro')
def research_pro():
return render_template('/apps-hub/research-pro.html')
@app.route('/digiyatra-assistant')
def digiyatra():
return render_template('/apps-hub/digiyatra.html')
@app.route('/file-convert')
def file_convert():
return render_template('/apps-hub/file-convert.html')
@app.route('/article-writer')
def article_writer():
return render_template('/apps-hub/article-writer.html')
@app.route('/followup-agent')
def followup():
return render_template('/apps-hub/followup-agent.html')
@app.route('/')
def landing_page():
return render_template('/apps-hub/landing-page.html')
@app.route('/js/<path:path>')
def send_js(path):
return send_from_directory('static/js/apps-hub/', path)
@app.route('/css/<path:path>')
def send_css(path):
return send_from_directory('static/css/apps-hub/', path)
@app.route('/svg/<path:path>')
def send_svg(path):
return send_from_directory('static/svg/', path)
@app.route('/png/<path:path>')
def send_png(path):
return send_from_directory('static/png/', path)
if __name__ == '__main__':
app.run(debug=True)