diff --git a/justpy/justpy.py b/justpy/justpy.py index 43836400..fa7d87a1 100644 --- a/justpy/justpy.py +++ b/justpy/justpy.py @@ -230,7 +230,8 @@ def justpy( """ global jp_server, func_to_run, startup_func, HOST, PORT - + jpconfig.HOST = host + jpconfig.PORT = port HOST = host PORT = port if func: