Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
}

You can then run this sample with a JSON configuration file:
python sample.py parameters.json
On the browser open http://localhost:5000/

python sample.py parameters.json your_flask_session_secret_here

And the on the browser open http://localhost:5000/

"""

Expand All @@ -29,7 +31,7 @@

app = flask.Flask(__name__)
app.debug = True
app.secret_key = 'development'
app.secret_key = sys.argv[2] # In this demo, we expect a secret from 2nd CLI param


# Optional logging
Expand Down