instance launching (fake)

This commit is contained in:
2025-06-14 14:45:41 +02:00
parent f0115a70f9
commit 68940e87f9
4 changed files with 571 additions and 13 deletions

View File

@@ -1671,4 +1671,14 @@ def init_routes(main_bp):
return jsonify({'error': f'Connection failed: {response.json().get("message", "Unknown error")}'}), 400
except Exception as e:
return jsonify({'error': f'Connection failed: {str(e)}'}), 400
return jsonify({'error': f'Connection failed: {str(e)}'}), 400
@main_bp.route('/instances/launch-progress')
@login_required
@require_password_change
def launch_progress():
if not os.environ.get('MASTER', 'false').lower() == 'true':
flash('This page is only available in master instances.', 'error')
return redirect(url_for('main.dashboard'))
return render_template('main/launch_progress.html')