summaryrefslogtreecommitdiff
path: root/lib/api/lang.py
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2023-05-22 22:33:19 +0200
committerGitHub <noreply@github.com>2023-05-22 22:33:19 +0200
commitef6f6580df6e8fbce913eecc1fe7e0f8caf1315b (patch)
treec1119a5d1affd44ad27e60cc6981ac98534c518d /lib/api/lang.py
parentda54f104e6bf5d0e98f7479cf1d060c76e0b01f2 (diff)
Update electron version to v14.2.9 (#2214)
Authored-by: rejbasket Co-authored-by: Kaalleen Co-authored-by: Lex Neva
Diffstat (limited to 'lib/api/lang.py')
-rw-r--r--lib/api/lang.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/api/lang.py b/lib/api/lang.py
new file mode 100644
index 00000000..73c190f4
--- /dev/null
+++ b/lib/api/lang.py
@@ -0,0 +1,11 @@
+import os
+
+from flask import Blueprint, jsonify
+
+languages = Blueprint('languages', __name__)
+
+
+@languages.route('')
+def get_lang():
+ languages = dict(os.environ)
+ return jsonify(languages)