diff --git a/main.py b/main.py
index c042913..d562e1b 100644
--- a/main.py
+++ b/main.py
@@ -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')
diff --git a/render.py b/render.py
index 40a7a9d..c0c8e38 100644
--- a/render.py
+++ b/render.py
@@ -91,7 +91,7 @@ def site(data, injectSSL = False):
ssl = ''
if injectSSL:
- ssl = ''
+ ssl = f''
page = "page.html"
if data['image'] == "":
page = "page_no_image.html"