annotate examples/test.json @ 69:dcf870775c26

Add compability with flask 0.8 In flask version 0.10 (current stable version) the behaviour changed. With this version it is possible to specify the server and port via the config variable SERVER_NAME. To allow this behaviour also with flask 0.8 which is the version shipped with Debian Wheezy this commit extracts the host and port from the SERVER_NAME config variable.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 05 Jan 2015 12:37:56 +0100
parents 195306a622e0
children
rev   line source
12
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 {
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2 "test": "Hallo Welt!",
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 "test2": 100
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4 }
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)