From: Philipp Klaus Date: Thu, 24 Aug 2017 09:38:35 +0000 (+0200) Subject: DASH: rename function for /api/values.json X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=59684ecbcd0874cb1db98fb5d6ff8235146be9bf;p=mvd_epics.git DASH: rename function for /api/values.json --- diff --git a/python_suite/dashboard/dashboard.py b/python_suite/dashboard/dashboard.py index 1420280..d1b8c94 100755 --- a/python_suite/dashboard/dashboard.py +++ b/python_suite/dashboard/dashboard.py @@ -111,7 +111,7 @@ def gview(name): return {'config': CONFIG, 'svg': name} @route('/api/values.json') -def index(): +def api_values(): return CONFIG @route('/api/history/.json')