from flask import Flask, render_template import connexion import config # The application instance. app = config.connex_app # The yml file configures the app's endpoints. app.add_api("swagger.yml") @app.route("/") def home (): return render_template("home.html") @app.route("/robots.txt") @app.route("/robots") def robots(): return render_template("robots.txt") if __name__ == "__main__": app.run(host="0.0.0.0", debug=True)