fix: Inject ssl based on host only

This commit is contained in:
2024-03-27 20:37:02 +11:00
parent 1b6536d8ae
commit dcc28483e3
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ def index():
with open(f'sites/{host}.json') as file:
data = json.load(file)
return render.site(data, True)
return render.site(data, host)
return redirect(f'https://{DOMAINS[0]}')
@app.route('/site')