Skip to content

Commit

Permalink
add db is up to mainsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
maggi373 committed Sep 5, 2024
1 parent e8f2e40 commit 341fe2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion asite.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def mainsettings():
if User.get_permission_token(session["token"], "solder_env") == 0:
return redirect(request.referrer)

return render_template("mainsettings.html", nam=__name__, deb=debug, host=host, port=port, mirror_url=mirror_url, repo_url=repo_url, r2_url=R2_URL, db_name=db_name, versr=__version__, r2_bucket=R2_BUCKET, newuser=new_user, technic=migratetechnic)
return render_template("mainsettings.html", nam=__name__, deb=debug, host=host, port=port, mirror_url=mirror_url, repo_url=repo_url, r2_url=R2_URL, db_name=db_name, versr=__version__, r2_bucket=R2_BUCKET, newuser=new_user, technic=migratetechnic, DB_IS_UP=DB_IS_UP)


@asite.route("/apikeylibrary", methods=["GET"])
Expand Down
4 changes: 4 additions & 0 deletions templates/mainsettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<td class="">MIGRATE_TECHNIC:</td>
<td class="">{{technic}}</td>
</tr>
<tr>
<td class="">DB_IS_UP:</td>
<td class="">{{DB_IS_UP}}</td>
</tr>
<thead class="table-light sticky-md-top">
<tr>
<th scope="col" class="">NETWORK ENV</th>
Expand Down

0 comments on commit 341fe2f

Please sign in to comment.