Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View chrisguitarguy's full-sized avatar

Christopher Davis chrisguitarguy

View GitHub Profile
@svieira
svieira / app.py
Last active October 21, 2019 10:43
Example sub-mounted Flask application
from flask import Flask, url_for
from werkzeug.serving import run_simple
from werkzeug.wsgi import DispatcherMiddleware
app = Flask(__name__)
app.config["APPLICATION_ROOT"] = "/abc/123"
@app.route("/")
def index():