Skip to content
Myr

Merge remote-tracking branch 'origin/1.1.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents 07556da, 71b7468 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/singlepageapplications.rst+1 added-1 removed
8 unmodified lines
9The following example demonstrates how to serve an SPA along with an API::1011 from flask import Flask, jsonify1213 app = Flask(__name__, static_folder='app')13 app = Flask(__name__, static_folder='app', static_url_path="/app")141516 @app.route("/heartbeat")17 def heartbeat():
7 unmodified lines