Commit 0883bf1b authored by Christian Elberfeld's avatar Christian Elberfeld
parents 2cccd515 587e2d4f
......@@ -103,6 +103,11 @@ def data_status():
def data_cccapi():
return redirect('/spaceapi', code=302)
# Kompatibilität für alte urls
@app.route('/spaceapi.php')
def data_spaceapiphp():
return redirect('/spaceapi', code=302)
# Implementierung der SpaceAPI
@app.route('/spaceapi')
def data_spaceapi():
......@@ -117,8 +122,8 @@ def data_spaceapi():
"url": "https://www.warpzone.ms",
"location": {
"address": "warpzone e.V., Am Hawerkamp 31 Maus G, 48155 Münster, Germany",
"lat": "51.943376",
"lon": "7.638216",
"lat": 51.9436176,
"lon": 7.6381682,
},
"contact": {
"phone": "+49 251 39500271",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment