fix(bff): agregar endpoint /settings/demo-mode y proxy /api/v1 en Express Node.js y Flask API

This commit is contained in:
2026-09-23 16:42:11 -03:00
parent dd4a4c042a
commit 6907134c5e
6 changed files with 173 additions and 7 deletions
+3 -1
View File
@@ -37,6 +37,7 @@ def get_auth_providers():
google_val = SystemSetting.get_value('auth_google_enabled', 'false').lower() in ('true', '1')
moodle_val = SystemSetting.get_value('auth_moodle_enabled', 'false').lower() in ('true', '1')
google_client_id = SystemSetting.get_value('google_client_id', '')
demo_access_enabled = SystemSetting.get_value('demo_access_enabled', 'true').lower() in ('true', '1')
return jsonify({
'status': 'success',
@@ -45,7 +46,8 @@ def get_auth_providers():
'google': google_val,
'moodle': moodle_val
},
'google_client_id': google_client_id
'google_client_id': google_client_id,
'demo_access_enabled': demo_access_enabled
}), 200