diff --git a/lib/galaxy/web/buildapp.py b/lib/galaxy/web/buildapp.py index a2238a464a5..243776d303d 100644 --- a/lib/galaxy/web/buildapp.py +++ b/lib/galaxy/web/buildapp.py @@ -84,7 +84,7 @@ def app_factory( global_conf, **kwargs ): # Wrap the webapp in some useful middleware if kwargs.get( 'middleware', True ): webapp = wrap_in_middleware( webapp, global_conf, **kwargs ) - if kwargs.get( 'static_enabled', True ): + if asbool( kwargs.get( 'static_enabled', True ) ): webapp = wrap_in_static( webapp, global_conf, **kwargs ) # Close any pooled database connections before forking try: diff --git a/templates/root/index.mako b/templates/root/index.mako index d86c68f8ac0..23701151be2 100644 --- a/templates/root/index.mako +++ b/templates/root/index.mako @@ -102,7 +102,7 @@