Commit f66194b0 authored by janis.streib's avatar janis.streib 🦉
Browse files

ADD: Äpfel.

parent 5e925761
Pipeline #112453 passed with stages
in 8 minutes and 33 seconds
......@@ -20,7 +20,7 @@
</p>
<b-modal content-class="text-center" id="net-suite-version" hide-footer hide-header>
<img alt="SCC" src="@/assets/img/scc_logo_small.png"/>
<h3>NET-Suite</h3>
<h3>NETVS {{$sysinfo.version_name}}</h3>
<p>
Version <a :href="`https://git.scc.kit.edu/scc-net/net-suite/net-suite/commit/${$sysinfo.version}`"
target="_blank">{{$sysinfo.version}}</a>
......
DEBUG = True
HOST = '0.0.0.0'
PORT = 5000
VERSION_NAME = 'Boskop'
SECRET_KEY = 'fillme'
......
......@@ -69,7 +69,7 @@ def main():
@app.route('/api/system/info')
def api_sysinfo():
return jsonify({'version': VERSION, 'mods': MODS, 'host_oper_mode': db.host_omdl, 'js_mods': app.config.get('JS_MODULES')})
return jsonify({'version': VERSION, 'version_name': app.config.get('VERSION_NAME', 'KEIN APFEL!'), 'mods': MODS, 'host_oper_mode': db.host_omdl, 'js_mods': app.config.get('JS_MODULES')})
@app.route('/api/session')
......
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