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 @@ ...@@ -20,7 +20,7 @@
</p> </p>
<b-modal content-class="text-center" id="net-suite-version" hide-footer hide-header> <b-modal content-class="text-center" id="net-suite-version" hide-footer hide-header>
<img alt="SCC" src="@/assets/img/scc_logo_small.png"/> <img alt="SCC" src="@/assets/img/scc_logo_small.png"/>
<h3>NET-Suite</h3> <h3>NETVS {{$sysinfo.version_name}}</h3>
<p> <p>
Version <a :href="`https://git.scc.kit.edu/scc-net/net-suite/net-suite/commit/${$sysinfo.version}`" Version <a :href="`https://git.scc.kit.edu/scc-net/net-suite/net-suite/commit/${$sysinfo.version}`"
target="_blank">{{$sysinfo.version}}</a> target="_blank">{{$sysinfo.version}}</a>
......
DEBUG = True DEBUG = True
HOST = '0.0.0.0' HOST = '0.0.0.0'
PORT = 5000 PORT = 5000
VERSION_NAME = 'Boskop'
SECRET_KEY = 'fillme' SECRET_KEY = 'fillme'
......
...@@ -69,7 +69,7 @@ def main(): ...@@ -69,7 +69,7 @@ def main():
@app.route('/api/system/info') @app.route('/api/system/info')
def api_sysinfo(): 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') @app.route('/api/session')
......
Supports Markdown
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