diff --git a/app/factory.py b/app/factory.py
index 576b59b22041157d8f4f15941f8e832b3fc4edfb..cd6ab2f5cf3f3992f3436da8ea82819299c15ada 100644
--- a/app/factory.py
+++ b/app/factory.py
@@ -154,11 +154,7 @@ def create_app(config=None):
     app.register_blueprint(network_api, url_prefix="/api/v1/network")
     app.register_blueprint(rq_dashboard.blueprint, url_prefix="/rq")
 
-    app.wsgi_app = WhiteNoise(app.wsgi_app, root="static/")
-    app.wsgi_app.add_files(
-        root="/opt/conda/envs/csentry/lib/python3.6/site-packages/flask_bootstrap/static/",
-        prefix="bootstrap/",
-    )
+    app.wsgi_app = WhiteNoise(app.wsgi_app, root=app.config["CSENTRY_STATIC_DIR"])
 
     register_cli(app)
 
diff --git a/app/settings.py b/app/settings.py
index 15becaf52df48e63429c32254d1207ef23801f5b..b4ac8f7f13683a7a72e26873676e1bdf20cb305e 100644
--- a/app/settings.py
+++ b/app/settings.py
@@ -111,4 +111,5 @@ SENTRY_USER_ATTRS = ["username"]
 SENTRY_CONFIG = {"release": CSENTRY_RELEASE}
 
 # Static local files
-CSENTRY_STATIC_FILES = Path(__file__).parent / "static" / "files"
+CSENTRY_STATIC_DIR = Path(__file__).parent / "static"
+CSENTRY_STATIC_FILES = CSENTRY_STATIC_DIR / "files"