diff --git a/CHANGELOG.md b/CHANGELOG.md index e3c43bab..ef2d82a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change log +### v0.12.2 +* Fix a bug that prevents using middleware via a custom Bottle. + ### v0.12.1 * Check that Chrome path is a file that exists on Windows before blindly returning it. diff --git a/eel/__init__.py b/eel/__init__.py index 0df37568..b911e77e 100644 --- a/eel/__init__.py +++ b/eel/__init__.py @@ -148,7 +148,7 @@ def run_lambda(): app = _start_args['app'] # type: btl.Bottle for route_path, route_params in BOTTLE_ROUTES.items(): route_func, route_kwargs = route_params - app.route(path=route_path, callback=route_func, **route_kwargs) + btl.route(path=route_path, callback=route_func, **route_kwargs) return btl.run( host=HOST, diff --git a/setup.py b/setup.py index ad5a20ee..41349b2d 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='Eel', - version='0.12.1', + version='0.12.2', author='Chris Knott', author_email='chrisknott@hotmail.co.uk', url='https://github.com/samuelhwilliams/Eel',