mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove unnecessary code in setup function in main.py
This commit is contained in:
parent
417e93f04a
commit
59b451b163
1 changed files with 0 additions and 5 deletions
|
|
@ -495,9 +495,6 @@ def check():
|
|||
|
||||
@app.route("/setup", methods=["GET", "POST"])
|
||||
def setup():
|
||||
if current_user.is_authenticated: # type: ignore
|
||||
return redirect(url_for("home"))
|
||||
|
||||
db_config = app.config["CONFIG"].get_config(methods=False)
|
||||
|
||||
for server_name in db_config["SERVER_NAME"].split(" "):
|
||||
|
|
@ -960,8 +957,6 @@ def services():
|
|||
|
||||
error = 0
|
||||
|
||||
print(variables, flush=True)
|
||||
|
||||
# Reload instances
|
||||
manage_bunkerweb(
|
||||
"services",
|
||||
|
|
|
|||
Loading…
Reference in a new issue