Fix route

This commit is contained in:
Jonathan Carter
2025-07-20 11:47:29 +02:00
parent b61c45b5f4
commit 3dade195a5
2 changed files with 23 additions and 0 deletions

View File

@@ -9,6 +9,29 @@ def install_index():
The page you'd get if you access the root of The page you'd get if you access the root of
this app in a browser. this app in a browser.
""" """
install_start()
return render_template('install.html') return render_template('install.html')
@bp.route('/install-start',methods=['GET', 'POST', 'PUT'])
def install_start():
"""
Trigger the installation process
"""
print("The installation process is starting!... in theory at least")
@bp.route('/install-status',methods=['GET', 'POST', 'PUT'])
def install_status():
"""
Update on the status of the installation process.
"""
print("installation en coers")
@bp.route('/settings',methods=['GET', 'POST', 'PUT'])
def settings():
"""
Manage settings for the installation module.
"""
print("Settings")