diff --git a/app.py b/app.py
index 9bcb2f9..d809720 100644
--- a/app.py
+++ b/app.py
@@ -11,7 +11,14 @@ import os
import sys
-app = Flask(__name__)
+BASE_DIR = os.path.abspath(os.path.dirname(__file__))
+
+app = Flask(
+ __name__,
+ static_folder=os.path.join(BASE_DIR, 'static'),
+ static_url_path='/static',
+ template_folder=os.path.join(BASE_DIR, 'templates')
+)
# Uniwersalne ścieżki - sprawdzaj obie
CONFIG_DIR_DOCKER = '/etc/haproxy-configurator'
diff --git a/templates/statistics.html b/templates/statistics.html
index 0a884fe..d0d226a 100644
--- a/templates/statistics.html
+++ b/templates/statistics.html
@@ -17,7 +17,7 @@
-
+